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.0009251/0.0009251, 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.001019/0.001019, allocations: 173 kB / 23.49 MB, free: 1.055 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.085/1.085, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.00171/0.00171, allocations: 245.5 kB / 260.5 MB, free: 12.9 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.8137/0.8137, allocations: 138.4 MB / 455.4 MB, free: 30.05 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.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.673e-06/1.673e-06, allocations: 0 / 0.555 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.743e-05, allocations: 9.969 kB / 0.555 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00175/0.001778, allocations: 1.287 MB / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.002502, allocations: 0.5604 MB / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002536, allocations: 0 / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.002562, allocations: 3.938 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.002622, allocations: 4 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.003207, allocations: 143.3 kB / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.00328, allocations: 11.92 kB / 0.557 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.003334, allocations: 4 kB / 0.557 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.003373, allocations: 7.984 kB / 0.557 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.003432, allocations: 7.938 kB / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003448, allocations: 0 / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.003758, allocations: 267.4 kB / 0.5572 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.003774, allocations: 0 / 0.5572 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.003794, allocations: 4 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.004013, allocations: 155.5 kB / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004016, allocations: 4 kB / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004017, allocations: 4 kB / 0.5574 GB, free: 14.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004021, allocations: 0 / 0.5574 GB, free: 14.04 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.0003507/0.004372, allocations: 372.3 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.004412, allocations: 8.75 kB / 0.5578 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.004451, allocations: 8.891 kB / 0.5578 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.004545, allocations: 112.6 kB / 0.5579 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004556, allocations: 384 / 0.5579 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.004565, allocations: 4.375 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.799e-05/0.004643, allocations: 30.25 kB / 0.5579 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004651, allocations: 4.188 kB / 0.5579 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004661, allocations: 4.375 kB / 0.5579 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.004668, allocations: 4.375 kB / 0.5579 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.004686, allocations: 3.938 kB / 0.5579 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.004806, allocations: 112.6 kB / 0.558 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.004856, allocations: 34.97 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.004876, allocations: 15.73 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.004893, allocations: 0 / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.004914, allocations: 33.39 kB / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.004915, allocations: 0 / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.005058, allocations: 45.7 kB / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.005088, allocations: 51.41 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.005164, allocations: 161.9 kB / 0.5584 GB, free: 12.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.005174, allocations: 29.7 kB / 0.5584 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.005208, allocations: 130.8 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.005234, allocations: 3.953 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.005261, allocations: 19.38 kB / 0.5585 GB, free: 12.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.00538, allocations: 492.1 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.005392, allocations: 4 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.005402, allocations: 8.234 kB / 0.559 GB, free: 12.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.005428, allocations: 15.75 kB / 0.559 GB, free: 12.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005429, allocations: 0 / 0.559 GB, free: 12.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.037e-05/0.00548, allocations: 37.7 kB / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005492, allocations: 4 kB / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005496, allocations: 4 kB / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.00551, allocations: 0 / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.005652, allocations: 15.92 kB / 0.5591 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003458/0.005997, allocations: 0.8932 MB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.006014, allocations: 8.047 kB / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.006019, allocations: 0 / 0.56 GB, free: 11.17 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.89e-05/0.006088, allocations: 156.6 kB / 0.5601 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.006094, allocations: 3.938 kB / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.006191, allocations: 52.92 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.006194, allocations: 0 / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006198, allocations: 0 / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006201, allocations: 0 / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.565e-05/0.006266, allocations: 112.6 kB / 0.5603 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006268, allocations: 4.031 kB / 0.5603 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.006327, allocations: 12 kB / 0.5603 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.00633, allocations: 0 / 0.5603 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.006337, allocations: 7.922 kB / 0.5603 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002787/0.006616, allocations: 0.8932 MB / 0.5612 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006617, allocations: 0 / 0.5612 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.766e-05/0.006675, allocations: 76.33 kB / 0.5613 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.006686, allocations: 7.922 kB / 0.5613 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.006701, allocations: 4 kB / 0.5613 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.006711, allocations: 12.09 kB / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.006726, allocations: 0 / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006728, allocations: 0 / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.006763, allocations: 123.2 kB / 0.5614 GB, free: 9.617 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006763, allocations: 0 / 0.5614 GB, free: 9.617 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.006896, allocations: 4 kB / 0.5614 GB, free: 9.613 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.0001483/0.007044, allocations: 111.2 kB / 0.5615 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.00719, allocations: 35.7 kB / 0.5615 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007192, allocations: 0 / 0.5615 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.007228, allocations: 23.67 kB / 0.5616 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.007342, allocations: 3.938 kB / 0.5616 GB, free: 9.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.007644, allocations: 106.4 kB / 0.5617 GB, free: 9.293 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.007678, allocations: 51.36 kB / 0.5617 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.772e-05/0.007695, allocations: 128 / 0.5617 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.007711, allocations: 12.5 kB / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007711, allocations: 0 / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of Templates: time 0.002339/0.01005, allocations: 491.8 kB / 0.5622 GB, free: 8.777 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.8974155250471085]