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.001023/0.001023, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001183/0.001183, allocations: 173 kB / 23.49 MB, free: 1.059 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.058/1.058, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001688/0.001688, allocations: 241.5 kB / 260.5 MB, free: 12.89 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.8155/0.8155, allocations: 138.4 MB / 455.4 MB, free: 1.465 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 1.583e-06/1.583e-06, allocations: 0 / 0.555 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.637e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001772/0.001798, allocations: 1.301 MB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.002553, allocations: 0.5603 MB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.002579, allocations: 0 / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.002602, allocations: 0 / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.00265, allocations: 3.984 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.003066, allocations: 143.2 kB / 0.557 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.003117, allocations: 7.938 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.003157, allocations: 7.984 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.003191, allocations: 8 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.003233, allocations: 3.984 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.003247, allocations: 0 / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.003541, allocations: 271.4 kB / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.003554, allocations: 0 / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.00357, allocations: 0 / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.003767, allocations: 155.4 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.00377, allocations: 4 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003771, allocations: 0 / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.003776, allocations: 0 / 0.5574 GB, free: 14.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003335/0.004109, allocations: 380.3 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.004158, allocations: 12.75 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.004194, allocations: 0.9375 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.004277, allocations: 108.6 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.004289, allocations: 4.375 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.004296, allocations: 384 / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.004378, allocations: 34.25 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.004384, allocations: 192 / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004394, allocations: 4.375 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.004401, allocations: 384 / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.004423, allocations: 15.86 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.004555, allocations: 120.7 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.004602, allocations: 31.05 kB / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.004619, allocations: 7.688 kB / 0.5581 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.004638, allocations: 4.062 kB / 0.5581 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.004657, allocations: 33.39 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004658, allocations: 3.938 kB / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001221/0.00478, allocations: 41.64 kB / 0.5582 GB, free: 13.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.004809, allocations: 55.39 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.004882, allocations: 162 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.00489, allocations: 25.7 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.004924, allocations: 134.9 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.004947, allocations: 7.953 kB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.004969, allocations: 15.38 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.005091, allocations: 0.4884 MB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.005103, allocations: 0 / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.005112, allocations: 4 kB / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.005139, allocations: 15.69 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005141, allocations: 192 / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.895e-05/0.00519, allocations: 41.64 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.005204, allocations: 6.969 kB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005209, allocations: 0 / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.00522, allocations: 0 / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.005367, allocations: 15.98 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003269/0.005694, allocations: 0.8971 MB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.005708, allocations: 0 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.005713, allocations: 4 kB / 0.56 GB, free: 11.48 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 6.623e-05/0.005779, allocations: 160.7 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.005786, allocations: 11.88 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.005873, allocations: 37.02 kB / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.005878, allocations: 7.984 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.005881, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005883, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.019e-05/0.005944, allocations: 108.6 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.005945, allocations: 4 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.005999, allocations: 7.984 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.006007, allocations: 4 kB / 0.5603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006015, allocations: 11.97 kB / 0.5603 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002544/0.00627, allocations: 0.8932 MB / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006271, allocations: 0 / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.052e-05/0.006321, allocations: 80.33 kB / 0.5613 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006328, allocations: 0 / 0.5613 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006338, allocations: 3.938 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.006348, allocations: 8 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.006363, allocations: 0 / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.006366, allocations: 4 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.006396, allocations: 123.3 kB / 0.5614 GB, free: 9.922 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006396, allocations: 0 / 0.5614 GB, free: 9.922 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.006527, allocations: 11.98 kB / 0.5614 GB, free: 9.91 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.0001449/0.006672, allocations: 111.1 kB / 0.5615 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.007042, allocations: 23.67 kB / 0.5616 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007043, allocations: 0 / 0.5616 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.00708, allocations: 23.83 kB / 0.5616 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.007196, allocations: 12 kB / 0.5616 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.007498, allocations: 106.4 kB / 0.5617 GB, free: 9.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.007529, allocations: 59.3 kB / 0.5618 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.007545, allocations: 0 / 0.5618 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.00756, allocations: 8.5 kB / 0.5618 GB, free: 9.508 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.007561, allocations: 0 / 0.5618 GB, free: 9.508 MB / 490.7 MB Notification: Performance of Templates: time 0.002264/0.009825, allocations: 0.4925 MB / 0.5622 GB, free: 9.055 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.7102935181465]