Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001061/0.001061, allocations: 92.22 kB / 19.65 MB, free: 276 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.00118/0.00118, allocations: 169 kB / 23.02 MB, free: 1.551 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.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.00177/0.00177, allocations: 237.6 kB / 260.2 MB, free: 12.82 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.7809/0.7809, allocations: 138.4 MB / 455.2 MB, free: 1.523 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.772e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001799/0.001827, allocations: 1.294 MB / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.002572, allocations: 0.5604 MB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.0026, allocations: 4 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.002623, allocations: 0 / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.002667, allocations: 0 / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.003135, allocations: 151.2 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.003194, allocations: 11.92 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.00324, allocations: 0 / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.003274, allocations: 4 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.003316, allocations: 4 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.003331, allocations: 4 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.003625, allocations: 267.4 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.003639, allocations: 3.938 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.003656, allocations: 4 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.00385, allocations: 151.5 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003854, allocations: 4 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003854, allocations: 0 / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.003862, allocations: 0 / 0.5575 GB, free: 14.05 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.0003288/0.00419, allocations: 380.3 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.004229, allocations: 8.75 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.004265, allocations: 4.938 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.004353, allocations: 112.6 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.004366, allocations: 4.375 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.004378, allocations: 4.375 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.004459, allocations: 30.27 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.00447, allocations: 192 / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004479, allocations: 384 / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.004488, allocations: 4.375 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.004505, allocations: 7.875 kB / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.004623, allocations: 116.6 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.004667, allocations: 39.03 kB / 0.5582 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.004685, allocations: 11.75 kB / 0.5582 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.004705, allocations: 0 / 0.5582 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.004726, allocations: 33.39 kB / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.004727, allocations: 0 / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000131/0.004858, allocations: 49.62 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.004883, allocations: 51.41 kB / 0.5583 GB, free: 13.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.004952, allocations: 157.9 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.00496, allocations: 25.7 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.004994, allocations: 131.1 kB / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.005018, allocations: 7.953 kB / 0.5586 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.00504, allocations: 19.38 kB / 0.5586 GB, free: 12.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.005153, allocations: 496.1 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.005163, allocations: 0 / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.005169, allocations: 4 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.005191, allocations: 15.69 kB / 0.5591 GB, free: 12.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005193, allocations: 0 / 0.5591 GB, free: 12.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.527e-05/0.005239, allocations: 37.64 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.00525, allocations: 8.078 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005254, allocations: 8 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.00527, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.005404, allocations: 8 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003183/0.005722, allocations: 0.901 MB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.005736, allocations: 0 / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.00574, allocations: 0 / 0.5601 GB, free: 11.18 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.735e-05/0.005808, allocations: 164.5 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.005814, allocations: 3.938 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.005897, allocations: 49.06 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005899, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.005901, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.005904, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.841e-05/0.005963, allocations: 112.6 kB / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005964, allocations: 0 / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.00601, allocations: 11.98 kB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006012, allocations: 0 / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.006019, allocations: 3.938 kB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002469/0.006266, allocations: 0.901 MB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006267, allocations: 3.984 kB / 0.5613 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.513e-05/0.006322, allocations: 84.33 kB / 0.5614 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.006327, allocations: 0 / 0.5614 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.006338, allocations: 8 kB / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-06/0.006344, allocations: 0 / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.006357, allocations: 0 / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.006359, allocations: 0 / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.006391, allocations: 131.2 kB / 0.5615 GB, free: 9.613 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006391, allocations: 192 / 0.5615 GB, free: 9.613 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001304/0.006522, allocations: 8 kB / 0.5615 GB, free: 9.605 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.0001165/0.006638, allocations: 115.1 kB / 0.5616 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.006759, allocations: 23.67 kB / 0.5616 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.00676, allocations: 0 / 0.5616 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.006793, allocations: 19.69 kB / 0.5617 GB, free: 9.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.0069, allocations: 11.92 kB / 0.5617 GB, free: 9.422 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.00716, allocations: 114.5 kB / 0.5618 GB, free: 9.281 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.007189, allocations: 55.34 kB / 0.5618 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.236e-05/0.007201, allocations: 0 / 0.5618 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.007217, allocations: 8.5 kB / 0.5618 GB, free: 9.199 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007218, allocations: 4 kB / 0.5618 GB, free: 9.195 MB / 490.7 MB Notification: Performance of Templates: time 0.002082/0.0093, allocations: 493.2 kB / 0.5623 GB, free: 8.758 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8784140311181545]