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.001362/0.001362, allocations: 78.34 kB / 19 MB, free: 2.867 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.00161/0.00161, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.419/1.419, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.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.002507/0.002507, allocations: 220.2 kB / 259.2 MB, free: 0.6055 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.053/1.053, allocations: 138.5 MB / 454.2 MB, free: 2.012 MB / 366.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.003108/0.003108, allocations: 95.86 kB / 0.6466 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.439, allocations: 95.36 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002343/0.4414, allocations: 1.265 MB / 0.7409 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.4424, allocations: 0.528 MB / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.4424, allocations: 0 / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.4424, allocations: 0 / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.4425, allocations: 3.938 kB / 0.7415 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.443, allocations: 147.4 kB / 0.7416 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.4431, allocations: 12 kB / 0.7416 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.4431, allocations: 7.984 kB / 0.7416 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.4432, allocations: 4 kB / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.863e-05/0.4432, allocations: 0 / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.4432, allocations: 3.938 kB / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.4437, allocations: 271.4 kB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.4437, allocations: 0 / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.4437, allocations: 8 kB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.444, allocations: 128.8 kB / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.444, allocations: 4 kB / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.444, allocations: 0 / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.444, allocations: 0 / 0.742 GB, free: 12.8 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.0004114/0.4444, allocations: 278 kB / 0.7423 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4444, allocations: 8.75 kB / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.4445, allocations: 0.9375 kB / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.4446, allocations: 110.5 kB / 0.7424 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4446, allocations: 384 / 0.7424 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.4446, allocations: 4.312 kB / 0.7424 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.4447, allocations: 42.25 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4447, allocations: 192 / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4447, allocations: 3.938 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4447, allocations: 4 kB / 0.7425 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.4448, allocations: 0 / 0.7425 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.4449, allocations: 105.3 kB / 0.7426 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.445, allocations: 26.53 kB / 0.7426 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.445, allocations: 8.922 kB / 0.7426 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.445, allocations: 0 / 0.7426 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.445, allocations: 34.56 kB / 0.7426 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.445, allocations: 8 kB / 0.7426 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.4452, allocations: 41.58 kB / 0.7427 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.4452, allocations: 55.39 kB / 0.7427 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.4453, allocations: 97.86 kB / 0.7428 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4453, allocations: 25.7 kB / 0.7428 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.4454, allocations: 80.14 kB / 0.7429 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.4454, allocations: 7.891 kB / 0.7429 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.4454, allocations: 13.72 kB / 0.7429 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4456, allocations: 318.8 kB / 0.7432 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.4456, allocations: 8.188 kB / 0.7433 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.4456, allocations: 4 kB / 0.7433 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.4456, allocations: 16.86 kB / 0.7433 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4456, allocations: 0 / 0.7433 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.403e-05/0.4457, allocations: 37.64 kB / 0.7433 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4457, allocations: 4 kB / 0.7433 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.4457, allocations: 0 / 0.7433 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4457, allocations: 3.938 kB / 0.7433 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4458, allocations: 11.98 kB / 0.7433 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004233/0.4463, allocations: 0.5861 MB / 0.7439 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.4463, allocations: 0 / 0.7439 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.4463, allocations: 0 / 0.7439 GB, free: 10.68 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.265e-05/0.4464, allocations: 125.8 kB / 0.744 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.4464, allocations: 0 / 0.744 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.4465, allocations: 44.95 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4465, allocations: 0 / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4465, allocations: 3.984 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4465, allocations: 3.938 kB / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.439e-05/0.4466, allocations: 105.5 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4466, allocations: 3.938 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.4467, allocations: 11.98 kB / 0.7442 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4467, allocations: 0 / 0.7442 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4467, allocations: 0 / 0.7442 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003844/0.4471, allocations: 0.586 MB / 0.7448 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4471, allocations: 7.922 kB / 0.7448 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.4472, allocations: 69.09 kB / 0.7448 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.4472, allocations: 4 kB / 0.7448 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.4472, allocations: 4.125 kB / 0.7448 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.4472, allocations: 0 / 0.7448 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.4472, allocations: 0 / 0.7448 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.4472, allocations: 0 / 0.7448 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.4472, allocations: 79.28 kB / 0.7449 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4472, allocations: 0 / 0.7449 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000198/0.4474, allocations: 15.88 kB / 0.7449 GB, free: 9.531 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.0001774/0.4476, allocations: 103.2 kB / 0.745 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.4478, allocations: 31.95 kB / 0.7451 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4478, allocations: 4 kB / 0.7451 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.4479, allocations: 11.98 kB / 0.7451 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.448, allocations: 0 / 0.7451 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.4484, allocations: 110.2 kB / 0.7452 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.4484, allocations: 59.34 kB / 0.7452 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.4485, allocations: 4.125 kB / 0.7452 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.4485, allocations: 8.5 kB / 0.7452 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.4485, allocations: 0 / 0.7452 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.00284/0.4513, allocations: 474.6 kB / 0.7457 GB, free: 8.727 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: 5.814139612019062] Failed to read output from testmodel.py, exit status != 0: 0.45962959341704845 0.47456414199999997 0.027472729 Calling exit ...