Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0007948/0.0007948, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009382/0.0009382, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 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.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.002128/0.002128, allocations: 237.9 kB / 260.2 MB, free: 12.84 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.7149/0.7149, allocations: 138.4 MB / 455.2 MB, free: 1.586 MB / 362.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.726e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002101/0.002128, allocations: 1.293 MB / 0.5564 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.003033, allocations: 0.5642 MB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.003058, allocations: 0 / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.003083, allocations: 0 / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.003133, allocations: 3.984 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.003615, allocations: 143.2 kB / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.003671, allocations: 15.94 kB / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.003707, allocations: 0 / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.003739, allocations: 7.984 kB / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.003781, allocations: 0 / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.003794, allocations: 0 / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.004185, allocations: 275.4 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.004198, allocations: 0 / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.004219, allocations: 8 kB / 0.5574 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.004464, allocations: 147.5 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004468, allocations: 3.984 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004469, allocations: 0 / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004473, allocations: 8 kB / 0.5575 GB, free: 14.1 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00038/0.004853, allocations: 376.3 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.004893, allocations: 8.75 kB / 0.5579 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.004931, allocations: 4.938 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.902e-05/0.00502, allocations: 112.6 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005031, allocations: 384 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.005039, allocations: 384 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.00512, allocations: 34.25 kB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005127, allocations: 192 / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005136, allocations: 384 / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005143, allocations: 4.375 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.005164, allocations: 11.88 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.005296, allocations: 116.6 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.005352, allocations: 27.09 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.005371, allocations: 11.67 kB / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.00539, allocations: 8 kB / 0.5582 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.005414, allocations: 33.39 kB / 0.5582 GB, free: 13.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005415, allocations: 0 / 0.5582 GB, free: 13.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.005546, allocations: 41.64 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.005584, allocations: 59.53 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.005659, allocations: 157.9 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.00567, allocations: 29.7 kB / 0.5585 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.005708, allocations: 130.9 kB / 0.5586 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.005736, allocations: 7.938 kB / 0.5586 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.005764, allocations: 15.38 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.005891, allocations: 0.4884 MB / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.005902, allocations: 0 / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.005911, allocations: 4 kB / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.005943, allocations: 19.86 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005945, allocations: 0 / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.768e-05/0.006003, allocations: 41.64 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.006015, allocations: 4 kB / 0.5592 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006019, allocations: 0 / 0.5592 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.006032, allocations: 0 / 0.5592 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.006178, allocations: 11.98 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003761/0.006554, allocations: 0.8971 MB / 0.5601 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.006571, allocations: 4 kB / 0.5601 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006577, allocations: 4.094 kB / 0.5601 GB, free: 11.23 MB / 490.7 MB 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 7.084e-05/0.006648, allocations: 152.6 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.006656, allocations: 11.88 kB / 0.5602 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.006746, allocations: 45 kB / 0.5603 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.006747, allocations: 0 / 0.5603 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.006752, allocations: 3.984 kB / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.006754, allocations: 0 / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.975e-05/0.006824, allocations: 116.6 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006825, allocations: 0 / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/0.006887, allocations: 12.03 kB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006889, allocations: 0 / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.006897, allocations: 3.938 kB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003058/0.007202, allocations: 0.8971 MB / 0.5613 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.007205, allocations: 4 kB / 0.5613 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.153e-05/0.007266, allocations: 80.28 kB / 0.5614 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.007276, allocations: 11.92 kB / 0.5614 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.007285, allocations: 0 / 0.5614 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.007294, allocations: 0 / 0.5614 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.00731, allocations: 8.094 kB / 0.5614 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.007313, allocations: 0 / 0.5614 GB, free: 9.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.007351, allocations: 119.2 kB / 0.5615 GB, free: 9.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007351, allocations: 0 / 0.5615 GB, free: 9.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.007545, allocations: 8 kB / 0.5615 GB, free: 9.664 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 (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.0001386/0.007684, allocations: 115.1 kB / 0.5616 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.00783, allocations: 27.67 kB / 0.5617 GB, free: 9.512 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007832, allocations: 160 / 0.5617 GB, free: 9.512 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.615e-05/0.007888, allocations: 23.67 kB / 0.5617 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.008031, allocations: 7.938 kB / 0.5617 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.008305, allocations: 110.4 kB / 0.5618 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.008343, allocations: 59.3 kB / 0.5618 GB, free: 9.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.485e-05/0.008358, allocations: 0 / 0.5618 GB, free: 9.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.008372, allocations: 8.562 kB / 0.5619 GB, free: 9.254 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008373, allocations: 4 kB / 0.5619 GB, free: 9.25 MB / 490.7 MB Notification: Performance of Templates: time 0.002581/0.01095, allocations: 0.5286 MB / 0.5624 GB, free: 8.762 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6013030079193413]