Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001818/0.001818, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 13.93 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.002034/0.002034, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003263/0.003263, allocations: 229.6 kB / 259.8 MB, free: 12.85 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 1.166/1.166, allocations: 138.5 MB / 454.7 MB, free: 1.492 MB / 362.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.492e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002462/0.002487, allocations: 1.294 MB / 0.5556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003623, allocations: 0.5643 MB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.003645, allocations: 0 / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.003658, allocations: 0 / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.003711, allocations: 7.938 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.004252, allocations: 147.2 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.00431, allocations: 23.86 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.004344, allocations: 4 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.004383, allocations: 7.984 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.004433, allocations: 7.938 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004448, allocations: 0 / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.004949, allocations: 275.4 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.004965, allocations: 3.938 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.004987, allocations: 8 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.005293, allocations: 159.5 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.005299, allocations: 4 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0053, allocations: 0 / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005304, allocations: 0 / 0.5568 GB, free: 14.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006346/0.005938, allocations: 383.9 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.005975, allocations: 8.75 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.006021, allocations: 4.938 kB / 0.5572 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.006149, allocations: 116.5 kB / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006166, allocations: 8.375 kB / 0.5573 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.006174, allocations: 384 / 0.5573 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.006282, allocations: 46.2 kB / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.00629, allocations: 192 / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.006299, allocations: 384 / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006305, allocations: 4.359 kB / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.00636, allocations: 11.94 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.006739, allocations: 267.8 kB / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.006977, allocations: 47.11 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.007019, allocations: 23.62 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.007039, allocations: 4 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.00707, allocations: 37.39 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007071, allocations: 4 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001949/0.007266, allocations: 57.62 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.007309, allocations: 51.41 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.007434, allocations: 166.1 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.007453, allocations: 29.64 kB / 0.558 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.007537, allocations: 134.8 kB / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.007551, allocations: 11.91 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.007597, allocations: 31.3 kB / 0.5582 GB, free: 12.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002571/0.007854, allocations: 492.1 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.007875, allocations: 8 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.007914, allocations: 31.36 kB / 0.5587 GB, free: 12.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.007975, allocations: 31.38 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007977, allocations: 0 / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001061/0.008083, allocations: 61.62 kB / 0.5588 GB, free: 12.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.0081, allocations: 11.12 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.008108, allocations: 3.938 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.008121, allocations: 0 / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.008175, allocations: 11.98 kB / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.00818, allocations: 0 / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.008204, allocations: 3.938 kB / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.008209, allocations: 8.031 kB / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.00832, allocations: 160.5 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.008346, allocations: 4 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.008498, allocations: 69.2 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008499, allocations: 0 / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.008504, allocations: 3.984 kB / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008507, allocations: 0 / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.008676, allocations: 116.6 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008677, allocations: 0 / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.008713, allocations: 8 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008715, allocations: 0 / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008724, allocations: 4 kB / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.00873, allocations: 7.922 kB / 0.5591 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.008733, allocations: 3.984 kB / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.008913, allocations: 195.9 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.008922, allocations: 4 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.008935, allocations: 4 kB / 0.5593 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.008985, allocations: 3.938 kB / 0.5593 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.009004, allocations: 0 / 0.5593 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.009013, allocations: 8.125 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.009085, allocations: 131.1 kB / 0.5595 GB, free: 11.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009085, allocations: 0 / 0.5595 GB, free: 11.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.009325, allocations: 19.94 kB / 0.5595 GB, free: 11.26 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.009523, allocations: 119.1 kB / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.009636, allocations: 36.08 kB / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009637, allocations: 0 / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.009666, allocations: 15.78 kB / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.009876, allocations: 7.984 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.0102, allocations: 142.3 kB / 0.5598 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.01026, allocations: 59.36 kB / 0.5599 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.127e-05/0.01029, allocations: 3.984 kB / 0.5599 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.01032, allocations: 12.5 kB / 0.5599 GB, free: 10.81 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01032, allocations: 0 / 0.5599 GB, free: 10.81 MB / 490.7 MB Notification: Performance of Templates: time 0.003267/0.01359, allocations: 0.5205 MB / 0.5604 GB, free: 10.3 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.859702675952576]