Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001288, allocations: 100.5 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 192.8 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 67.03 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2524, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002466/0.2549, allocations: 1.252 MB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2561, allocations: 0.5838 MB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.2562, allocations: 0 / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.2562, allocations: 0 / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.2563, allocations: 7.922 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.257, allocations: 143.4 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.2571, allocations: 15.86 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.2571, allocations: 4 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.2571, allocations: 0 / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.2572, allocations: 7.984 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2572, allocations: 0 / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004838/0.2577, allocations: 335.4 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.2577, allocations: 11.94 kB / 0.7871 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.2577, allocations: 7.922 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.258, allocations: 135.8 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.258, allocations: 7.984 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.258, allocations: 0 / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.258, allocations: 0 / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003916/0.2584, allocations: 351.4 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2585, allocations: 12.03 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.2585, allocations: 0.9375 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2586, allocations: 168.2 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.2586, allocations: 384 / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2587, allocations: 4.375 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.2588, allocations: 38.25 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2588, allocations: 192 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2588, allocations: 3.938 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2588, allocations: 4 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.2588, allocations: 0 / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4705/0.7294, allocations: 154 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.7295, allocations: 25.39 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.7295, allocations: 6.609 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.7296, allocations: 2.781 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.7296, allocations: 32.81 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.7296, allocations: 5.844 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.7298, allocations: 44.78 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.7298, allocations: 51.94 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.7299, allocations: 95.73 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.7299, allocations: 25.7 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.7299, allocations: 84.25 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.73, allocations: 7.844 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.73, allocations: 11.84 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.7301, allocations: 315.4 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.7301, allocations: 3.25 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.7301, allocations: 5.688 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.7301, allocations: 16.89 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7301, allocations: 2.719 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.416e-05/0.7302, allocations: 41.83 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7302, allocations: 6.531 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7302, allocations: 1.578 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7303, allocations: 0 / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.7304, allocations: 10.39 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002563/0.7307, allocations: 0.5912 MB / 0.7893 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.7307, allocations: 0 / 0.7893 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.7307, allocations: 3.906 kB / 0.7893 GB, free: 47.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.7308, allocations: 106.4 kB / 0.7894 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.7308, allocations: 9 kB / 0.7894 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.7309, allocations: 50.91 kB / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.731, allocations: 0 / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.731, allocations: 0 / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.731, allocations: 0 / 0.7894 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.726e-05/0.731, allocations: 151.1 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.731, allocations: 3.938 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.7311, allocations: 8.344 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7311, allocations: 0 / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7311, allocations: 3.141 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001883/0.7313, allocations: 0.5889 MB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7313, allocations: 0 / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.121e-05/0.7314, allocations: 73.72 kB / 0.7902 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.7314, allocations: 80.7 kB / 0.7903 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.7315, allocations: 3.516 kB / 0.7903 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.7315, allocations: 0.75 kB / 0.7903 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.7315, allocations: 3.062 kB / 0.7903 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.7315, allocations: 0 / 0.7903 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.294e-05/0.7315, allocations: 83.88 kB / 0.7904 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7315, allocations: 0 / 0.7904 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002152/0.7318, allocations: 15.75 kB / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.7319, allocations: 105.8 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.7321, allocations: 27.64 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7321, allocations: 3.75 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.7322, allocations: 12.17 kB / 0.7906 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.7323, allocations: 0.7812 kB / 0.7906 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.7327, allocations: 127.1 kB / 0.7907 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.7328, allocations: 0.6743 MB / 0.7913 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.7328, allocations: 7.438 kB / 0.7913 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of SimCode: time 1.412e-06/0.7328, allocations: 0.9375 kB / 0.7913 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.002028/0.7348, allocations: 0.7017 MB / 0.792 GB, free: 45.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)