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.00153/0.00153, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001718/0.001718, allocations: 212 kB / 23.01 MB, free: 4.57 MB / 14.72 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.00254/0.00254, allocations: 278.5 kB / 313.5 MB, free: 2.82 MB / 238.1 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 1.147/1.147, allocations: 180.6 MB / 0.5377 GB, free: 12.85 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 107.1 kB / 0.7408 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1662, allocations: 95.38 MB / 0.834 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002443/0.1686, allocations: 1.272 MB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1696, allocations: 0.5975 MB / 0.8358 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1697, allocations: 0 / 0.8358 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.1697, allocations: 0 / 0.8358 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.1697, allocations: 3.938 kB / 0.8358 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.1703, allocations: 144.8 kB / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.907e-05/0.1703, allocations: 11.94 kB / 0.8359 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.1704, allocations: 0 / 0.8359 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.1704, allocations: 7.984 kB / 0.8359 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.1704, allocations: 11.94 kB / 0.836 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1705, allocations: 0 / 0.836 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.171, allocations: 343.3 kB / 0.8363 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.171, allocations: 0 / 0.8363 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.171, allocations: 7.984 kB / 0.8363 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.1713, allocations: 135.6 kB / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1713, allocations: 7.922 kB / 0.8364 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1713, allocations: 0 / 0.8364 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1713, allocations: 0 / 0.8364 GB, free: 5.613 MB / 0.5762 GB 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.0004032/0.1717, allocations: 274 kB / 0.8367 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1717, allocations: 12.75 kB / 0.8367 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1718, allocations: 8.875 kB / 0.8367 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1719, allocations: 110.5 kB / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.1719, allocations: 384 / 0.8368 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1719, allocations: 4.375 kB / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.172, allocations: 30.25 kB / 0.8368 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.172, allocations: 192 / 0.8368 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.172, allocations: 7.938 kB / 0.8369 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.172, allocations: 3.984 kB / 0.8369 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.172, allocations: 8 kB / 0.8369 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1722, allocations: 120.7 kB / 0.837 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.152e-05/0.1722, allocations: 30.53 kB / 0.837 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.1722, allocations: 8.922 kB / 0.837 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1723, allocations: 0 / 0.837 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1723, allocations: 30.56 kB / 0.837 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1723, allocations: 7.938 kB / 0.8371 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.1724, allocations: 45.64 kB / 0.8371 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1725, allocations: 59.33 kB / 0.8372 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.1725, allocations: 93.86 kB / 0.8372 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1725, allocations: 25.7 kB / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.1726, allocations: 84.14 kB / 0.8373 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1726, allocations: 3.953 kB / 0.8374 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.1726, allocations: 13.97 kB / 0.8374 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1727, allocations: 314.8 kB / 0.8377 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.1728, allocations: 7.984 kB / 0.8377 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.1728, allocations: 4 kB / 0.8377 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.1728, allocations: 8.859 kB / 0.8377 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1728, allocations: 0 / 0.8377 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.432e-05/0.1729, allocations: 37.7 kB / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1729, allocations: 11.94 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1729, allocations: 8.031 kB / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1729, allocations: 0 / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.173, allocations: 15.98 kB / 0.8378 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003772/0.1734, allocations: 0.5782 MB / 0.8383 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.1734, allocations: 0 / 0.8383 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1734, allocations: 0 / 0.8383 GB, free: 3.461 MB / 0.5762 GB 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 8.364e-05/0.1735, allocations: 122.5 kB / 0.8384 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.1735, allocations: 4 kB / 0.8384 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1736, allocations: 52.83 kB / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1736, allocations: 0 / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1736, allocations: 0 / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1736, allocations: 3.984 kB / 0.8385 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.972e-05/0.1737, allocations: 124.7 kB / 0.8386 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1737, allocations: 0 / 0.8386 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.1738, allocations: 11.98 kB / 0.8386 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1738, allocations: 4.031 kB / 0.8386 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1738, allocations: 4 kB / 0.8386 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000319/0.1741, allocations: 0.5782 MB / 0.8392 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1741, allocations: 3.938 kB / 0.8392 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.756e-05/0.1742, allocations: 65.19 kB / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.1742, allocations: 8.031 kB / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.1742, allocations: 7.938 kB / 0.8393 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.1743, allocations: 0 / 0.8393 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1743, allocations: 3.938 kB / 0.8393 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1743, allocations: 0 / 0.8393 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.1743, allocations: 83.27 kB / 0.8394 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1743, allocations: 0 / 0.8394 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001922/0.1745, allocations: 8 kB / 0.8394 GB, free: 2.281 MB / 0.5762 GB 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.000154/0.1747, allocations: 111.3 kB / 0.8395 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1748, allocations: 19.94 kB / 0.8395 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1748, allocations: 0 / 0.8395 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.1749, allocations: 15.98 kB / 0.8395 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.175, allocations: 0.8125 kB / 0.8395 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.1754, allocations: 132.1 kB / 0.8396 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1757, allocations: 0.6768 MB / 0.8403 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1757, allocations: 7.438 kB / 0.8403 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1757, allocations: 0 / 0.8403 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of Templates: time 0.002408/0.1781, allocations: 0.7027 MB / 0.841 GB, free: 0.5547 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.994100379990414] Failed to read output from testmodel.py, exit status != 0: 0.18564794398844242 0.200177832 0.025982424 Calling exit ...