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.001557/0.001557, allocations: 102.1 kB / 19.7 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.001711/0.001711, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.00244/0.00244, allocations: 291.5 kB / 313.5 MB, free: 2.809 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 12.88 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_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: 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.002782/0.002782, allocations: 109 kB / 0.7408 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1649, allocations: 95.38 MB / 0.834 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002321/0.1672, allocations: 1.266 MB / 0.8352 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.1682, allocations: 0.5974 MB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1682, allocations: 0 / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.1682, allocations: 4 kB / 0.8358 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.1683, allocations: 3.938 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.1688, allocations: 152.9 kB / 0.8359 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.06e-05/0.1688, allocations: 8 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1689, allocations: 7.922 kB / 0.8359 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.1689, allocations: 4 kB / 0.8359 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.1689, allocations: 3.938 kB / 0.836 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1689, allocations: 4 kB / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.1694, allocations: 339.4 kB / 0.8363 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-06/0.1694, allocations: 3.984 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1695, allocations: 4 kB / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1697, allocations: 143.5 kB / 0.8364 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1697, allocations: 4 kB / 0.8364 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1697, allocations: 0 / 0.8364 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.1697, allocations: 0 / 0.8364 GB, free: 5.586 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.0003831/0.1701, allocations: 274 kB / 0.8367 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1701, allocations: 9.344 kB / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1701, allocations: 0.9375 kB / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1702, allocations: 114.5 kB / 0.8368 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1703, allocations: 384 / 0.8368 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.1703, allocations: 4.375 kB / 0.8368 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.153e-05/0.1703, allocations: 34.25 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1704, allocations: 192 / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1704, allocations: 3.938 kB / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1704, allocations: 0 / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.1704, allocations: 8 kB / 0.8369 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1705, allocations: 120.7 kB / 0.837 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.1706, allocations: 34.53 kB / 0.837 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.1706, allocations: 8.922 kB / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1706, allocations: 0 / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1707, allocations: 30.56 kB / 0.837 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.1707, allocations: 0 / 0.837 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.1708, allocations: 49.62 kB / 0.8371 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1708, allocations: 51.41 kB / 0.8371 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.1709, allocations: 97.92 kB / 0.8372 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1709, allocations: 29.64 kB / 0.8373 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.171, allocations: 88.14 kB / 0.8373 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.171, allocations: 7.938 kB / 0.8374 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.171, allocations: 13.72 kB / 0.8374 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1712, allocations: 318.8 kB / 0.8377 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1712, allocations: 4 kB / 0.8377 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.1712, allocations: 4 kB / 0.8377 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.1712, allocations: 13.05 kB / 0.8377 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1712, allocations: 0 / 0.8377 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.951e-05/0.1713, allocations: 37.7 kB / 0.8377 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1713, allocations: 8 kB / 0.8377 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1713, allocations: 7.922 kB / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1713, allocations: 0 / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1714, allocations: 15.94 kB / 0.8378 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003849/0.1718, allocations: 0.5822 MB / 0.8383 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.1718, allocations: 0 / 0.8383 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1718, allocations: 0 / 0.8383 GB, free: 3.434 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 9.015e-05/0.1719, allocations: 117.8 kB / 0.8384 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.1719, allocations: 4 kB / 0.8384 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/0.172, allocations: 48.89 kB / 0.8385 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.172, allocations: 4.109 kB / 0.8385 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.172, allocations: 4 kB / 0.8385 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1721, allocations: 0 / 0.8385 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1722, allocations: 124.7 kB / 0.8386 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1722, allocations: 0 / 0.8386 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.1722, allocations: 11.98 kB / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1722, allocations: 0 / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1722, allocations: 0 / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003342/0.1726, allocations: 0.5821 MB / 0.8392 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1726, allocations: 7.969 kB / 0.8392 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.846e-05/0.1726, allocations: 65.06 kB / 0.8393 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.1727, allocations: 4 kB / 0.8393 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.1727, allocations: 0 / 0.8393 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.1727, allocations: 4 kB / 0.8393 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.1727, allocations: 3.938 kB / 0.8393 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1727, allocations: 12.05 kB / 0.8393 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.1727, allocations: 75.28 kB / 0.8394 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1727, allocations: 4 kB / 0.8394 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001821/0.1729, allocations: 4 kB / 0.8394 GB, free: 2.262 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.0001575/0.1731, allocations: 116.8 kB / 0.8395 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.1732, allocations: 19.98 kB / 0.8395 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1732, allocations: 8.031 kB / 0.8395 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.1733, allocations: 12 kB / 0.8395 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1734, allocations: 4 kB / 0.8395 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.1737, allocations: 132 kB / 0.8396 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.174, allocations: 0.6768 MB / 0.8403 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.174, allocations: 7.438 kB / 0.8403 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.174, allocations: 0 / 0.8403 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of Templates: time 0.002203/0.1762, allocations: 0.6948 MB / 0.841 GB, free: 0.5312 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.948708383832127] Failed to read output from testmodel.py, exit status != 0: 0.1830869650002569 0.19742482800000002 0.024908249 Calling exit ...