Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009711/0.0009711, allocations: 69.98 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001996/0.001996, allocations: 245.8 kB / 261.3 MB, free: 12.52 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7729/0.7729, allocations: 138.4 MB / 456.3 MB, free: 29.88 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.119e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002091/0.002112, allocations: 1.326 MB / 0.5576 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.002927, allocations: 0.5603 MB / 0.5582 GB, free: 14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.002956, allocations: 0 / 0.5582 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.002975, allocations: 4 kB / 0.5582 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.003022, allocations: 0 / 0.5582 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.003475, allocations: 155.2 kB / 0.5583 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.003532, allocations: 19.88 kB / 0.5584 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.003572, allocations: 4 kB / 0.5584 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.003602, allocations: 7.984 kB / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.003654, allocations: 7.984 kB / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003666, allocations: 0 / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.004033, allocations: 279.4 kB / 0.5586 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.004048, allocations: 3.984 kB / 0.5586 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.004064, allocations: 8 kB / 0.5587 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.004292, allocations: 151.5 kB / 0.5588 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004295, allocations: 0 / 0.5588 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004296, allocations: 0 / 0.5588 GB, free: 13.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.0043, allocations: 4 kB / 0.5588 GB, free: 13.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003619/0.004662, allocations: 400.2 kB / 0.5592 GB, free: 12.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.004697, allocations: 12.69 kB / 0.5592 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.004725, allocations: 4.938 kB / 0.5592 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.004806, allocations: 112.6 kB / 0.5593 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.004816, allocations: 384 / 0.5593 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.004823, allocations: 4.375 kB / 0.5593 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.009e-05/0.004893, allocations: 42.19 kB / 0.5594 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.0049, allocations: 192 / 0.5594 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.004907, allocations: 384 / 0.5594 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.004912, allocations: 4.375 kB / 0.5594 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.004936, allocations: 11.92 kB / 0.5594 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.005168, allocations: 236.4 kB / 0.5596 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.005308, allocations: 47.11 kB / 0.5596 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.005331, allocations: 19.75 kB / 0.5597 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.005344, allocations: 7.922 kB / 0.5597 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005364, allocations: 33.39 kB / 0.5597 GB, free: 12.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.005366, allocations: 0 / 0.5597 GB, free: 12.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001332/0.005499, allocations: 53.58 kB / 0.5597 GB, free: 12.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.005534, allocations: 59.41 kB / 0.5598 GB, free: 12.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.005603, allocations: 153.9 kB / 0.56 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005614, allocations: 29.7 kB / 0.56 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.005664, allocations: 126.9 kB / 0.5601 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.005676, allocations: 15.83 kB / 0.5601 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.00571, allocations: 27.38 kB / 0.5601 GB, free: 11.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.005839, allocations: 0.4884 MB / 0.5606 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.005852, allocations: 3.938 kB / 0.5606 GB, free: 11.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.005878, allocations: 27.36 kB / 0.5607 GB, free: 11.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.005917, allocations: 27.38 kB / 0.5607 GB, free: 11.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005918, allocations: 0 / 0.5607 GB, free: 11.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.126e-05/0.006, allocations: 53.62 kB / 0.5607 GB, free: 11.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.006012, allocations: 8 kB / 0.5607 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006017, allocations: 0 / 0.5607 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.006027, allocations: 8.391 kB / 0.5607 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.107e-05/0.006068, allocations: 12.11 kB / 0.5608 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.00607, allocations: 0 / 0.5608 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.006091, allocations: 7.953 kB / 0.5608 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.006095, allocations: 4 kB / 0.5608 GB, free: 11.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.00616, allocations: 156.5 kB / 0.5609 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.006182, allocations: 7.938 kB / 0.5609 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.785e-05/0.00628, allocations: 61.34 kB / 0.561 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006283, allocations: 3.938 kB / 0.561 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.006286, allocations: 8 kB / 0.561 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006288, allocations: 0 / 0.561 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.006405, allocations: 97.25 kB / 0.5611 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006405, allocations: 0 / 0.5611 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.006429, allocations: 8 kB / 0.5611 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006431, allocations: 0 / 0.5611 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.006437, allocations: 7.984 kB / 0.5611 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.006438, allocations: 0 / 0.5611 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.00644, allocations: 0 / 0.5611 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.006791, allocations: 203.8 kB / 0.5613 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.006797, allocations: 0 / 0.5613 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.006805, allocations: 4 kB / 0.5613 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.006846, allocations: 0 / 0.5613 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.006858, allocations: 4 kB / 0.5613 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006862, allocations: 3.938 kB / 0.5613 GB, free: 10.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.006895, allocations: 127.2 kB / 0.5614 GB, free: 10.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006896, allocations: 0 / 0.5614 GB, free: 10.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000242/0.007137, allocations: 19.88 kB / 0.5614 GB, free: 10.38 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.007284, allocations: 119.2 kB / 0.5616 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.007362, allocations: 31.59 kB / 0.5616 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007364, allocations: 4.062 kB / 0.5616 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.007381, allocations: 15.69 kB / 0.5616 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.00759, allocations: 3.984 kB / 0.5616 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.007813, allocations: 118.3 kB / 0.5617 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.007849, allocations: 63.89 kB / 0.5618 GB, free: 9.965 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.892e-05/0.007878, allocations: 3.938 kB / 0.5618 GB, free: 9.961 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.007916, allocations: 74.2 kB / 0.5619 GB, free: 9.887 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007917, allocations: 0 / 0.5619 GB, free: 9.887 MB / 490.7 MB Notification: Performance of Templates: time 0.002447/0.01036, allocations: 0.5966 MB / 0.5624 GB, free: 9.312 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7695469171740115]