Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.733/1.733, allocations: 287.4 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 174.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006883/0.0006882, allocations: 96.78 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003574, allocations: 12.73 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001095/0.1741, allocations: 0.9743 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.1748, allocations: 0.5338 MB / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.1748, allocations: 0 / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.1748, allocations: 3.984 kB / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.1749, allocations: 0 / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1753, allocations: 117.2 kB / 0.9809 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.807e-05/0.1753, allocations: 11.94 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.1754, allocations: 3.984 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.1754, allocations: 11.98 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.1754, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1754, allocations: 4 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.1759, allocations: 331.3 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.1759, allocations: 0 / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.1759, allocations: 29.64 kB / 0.9812 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.176, allocations: 96.05 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1761, allocations: 0 / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1761, allocations: 4 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1761, allocations: 4 kB / 0.9813 GB, free: 26.07 MB / 0.6198 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.0002636/0.1763, allocations: 349.8 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1764, allocations: 8.031 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.1764, allocations: 4.938 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.345e-05/0.1765, allocations: 168.3 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1765, allocations: 4.312 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.1765, allocations: 384 / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.374e-05/0.1766, allocations: 30.27 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1766, allocations: 4.188 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1766, allocations: 7.922 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1766, allocations: 0 / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.1766, allocations: 7.938 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.999e-05/0.1768, allocations: 149.7 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/0.1768, allocations: 22.59 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.1768, allocations: 12.92 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1768, allocations: 4 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.1769, allocations: 30.56 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1769, allocations: 0 / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001107/0.177, allocations: 45.58 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/0.177, allocations: 55.41 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.2e-05/0.1771, allocations: 93.84 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.1771, allocations: 25.7 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.312e-05/0.1771, allocations: 88.39 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1771, allocations: 7.906 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.1771, allocations: 0 / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.1772, allocations: 314.8 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1772, allocations: 4 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.1772, allocations: 0 / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.1772, allocations: 16.84 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1772, allocations: 0 / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.787e-05/0.1773, allocations: 45.7 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1773, allocations: 4 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1773, allocations: 0 / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1773, allocations: 3.938 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1775, allocations: 15.97 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/0.1777, allocations: 0.5782 MB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1778, allocations: 4 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1778, allocations: 8.156 kB / 0.9834 GB, free: 23.75 MB / 0.6198 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.1778, allocations: 113.8 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.1778, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.1779, allocations: 48.75 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1779, allocations: 0 / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.178, allocations: 0 / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.178, allocations: 85.02 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.178, allocations: 3.984 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.178, allocations: 4.031 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.178, allocations: 3.938 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001402/0.1782, allocations: 145.7 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.741e-05/0.1783, allocations: 214.8 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.744e-05/0.1783, allocations: 8.156 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.528e-05/0.1783, allocations: 75.28 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of Backend: time 2.9e-07/0.1783, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.1789, allocations: 154.3 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003935/0.1793, allocations: 0.5763 MB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.002971/0.1822, allocations: 1.071 MB / 0.9858 GB, free: 21.18 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)