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.001497/0.001497, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001662/0.001662, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002422/0.002422, allocations: 301 kB / 313.5 MB, free: 2.609 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.177/1.177, allocations: 180.6 MB / 0.5377 GB, free: 14.66 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.002867/0.002867, allocations: 101.8 kB / 0.7407 GB, free: 27.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1641, allocations: 95.38 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002391/0.1664, allocations: 1.259 MB / 0.8351 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.1674, allocations: 0.5275 MB / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.1674, allocations: 0 / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.1675, allocations: 3.938 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.1675, allocations: 0 / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.168, allocations: 149.4 kB / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.168, allocations: 15.94 kB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.1681, allocations: 0 / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.1681, allocations: 7.984 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.1681, allocations: 0 / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1682, allocations: 3.938 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.1686, allocations: 267.5 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1686, allocations: 3.984 kB / 0.836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.1686, allocations: 8 kB / 0.836 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1689, allocations: 127.5 kB / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1689, allocations: 0 / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1689, allocations: 0 / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.1689, allocations: 0 / 0.8362 GB, free: 5.434 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.0004166/0.1693, allocations: 282 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1693, allocations: 9.344 kB / 0.8364 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.1693, allocations: 0.9375 kB / 0.8364 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1695, allocations: 110.5 kB / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1695, allocations: 384 / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1695, allocations: 4.375 kB / 0.8366 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.1696, allocations: 34.27 kB / 0.8366 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1696, allocations: 192 / 0.8366 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1696, allocations: 7.875 kB / 0.8366 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1696, allocations: 7.922 kB / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.1696, allocations: 4 kB / 0.8366 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1698, allocations: 105.3 kB / 0.8367 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/0.1698, allocations: 18.61 kB / 0.8367 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.1698, allocations: 8.922 kB / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1699, allocations: 0 / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1699, allocations: 42.55 kB / 0.8368 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1699, allocations: 0 / 0.8368 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.17, allocations: 45.58 kB / 0.8368 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1701, allocations: 51.41 kB / 0.8369 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.1701, allocations: 97.86 kB / 0.837 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1702, allocations: 25.7 kB / 0.837 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.1702, allocations: 84.12 kB / 0.8371 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1702, allocations: 3.953 kB / 0.8371 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1702, allocations: 13.72 kB / 0.8371 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1704, allocations: 323 kB / 0.8374 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1704, allocations: 4 kB / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.1704, allocations: 0 / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.1704, allocations: 20.8 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1705, allocations: 0 / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.858e-05/0.1705, allocations: 37.69 kB / 0.8375 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1705, allocations: 4 kB / 0.8375 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1705, allocations: 0 / 0.8375 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1705, allocations: 3.938 kB / 0.8375 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1707, allocations: 12.08 kB / 0.8375 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004003/0.1711, allocations: 0.5899 MB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1711, allocations: 0 / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1711, allocations: 0 / 0.838 GB, free: 3.312 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.588e-05/0.1712, allocations: 113.8 kB / 0.8382 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.1712, allocations: 4 kB / 0.8382 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1713, allocations: 48.94 kB / 0.8382 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1713, allocations: 0 / 0.8382 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1713, allocations: 4.125 kB / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1713, allocations: 0 / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.354e-05/0.1714, allocations: 109.3 kB / 0.8383 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1714, allocations: 3.938 kB / 0.8383 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.1715, allocations: 8 kB / 0.8383 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1715, allocations: 7.922 kB / 0.8383 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1715, allocations: 0 / 0.8383 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004198/0.1719, allocations: 0.5898 MB / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.1719, allocations: 8.016 kB / 0.8389 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.287e-05/0.172, allocations: 65.17 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.172, allocations: 0 / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.172, allocations: 4 kB / 0.839 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.172, allocations: 0 / 0.839 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.172, allocations: 3.984 kB / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.172, allocations: 3.938 kB / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.1721, allocations: 79.28 kB / 0.8391 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.8391 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001838/0.1723, allocations: 11.94 kB / 0.8391 GB, free: 2.164 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.0001603/0.1724, allocations: 120 kB / 0.8392 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1726, allocations: 19.98 kB / 0.8392 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1726, allocations: 0 / 0.8392 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.1727, allocations: 15.98 kB / 0.8392 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1728, allocations: 0 / 0.8392 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.1731, allocations: 138.1 kB / 0.8394 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.1732, allocations: 59.34 kB / 0.8394 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.1732, allocations: 11.56 kB / 0.8394 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1732, allocations: 0 / 0.8394 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.002345/0.1756, allocations: 0.6989 MB / 0.8401 GB, free: 1.051 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.994713159278035] Failed to read output from testmodel.py, exit status != 0: 0.18251522909849882 0.197282332 0.025496612000000002 Calling exit ...