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.001352/0.001352, allocations: 92.7 kB / 19.44 MB, free: 324 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.001516/0.001516, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.441/1.441, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.002572/0.002572, allocations: 230.6 kB / 259.8 MB, free: 12.86 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.087/1.087, allocations: 138.4 MB / 454.7 MB, free: 1.5 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.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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.133e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00288/0.002911, allocations: 1.263 MB / 0.5556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.004052, allocations: 0.5253 MB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.004075, allocations: 0 / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.004095, allocations: 0 / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.004142, allocations: 3.938 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.004774, allocations: 139.3 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.004828, allocations: 15.94 kB / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.004862, allocations: 0 / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.004891, allocations: 7.984 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.004944, allocations: 11.92 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.004958, allocations: 0 / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.005456, allocations: 263.5 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.005476, allocations: 7.938 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.005504, allocations: 0 / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.005809, allocations: 143.6 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005811, allocations: 0 / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005812, allocations: 3.938 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005816, allocations: 4 kB / 0.5567 GB, free: 14.48 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004395/0.006255, allocations: 282 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.006298, allocations: 16.69 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.006339, allocations: 0.9375 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.006465, allocations: 101.8 kB / 0.557 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.006478, allocations: 4.375 kB / 0.557 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.006485, allocations: 384 / 0.557 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.006583, allocations: 34.27 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006592, allocations: 4.172 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.006601, allocations: 384 / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.006605, allocations: 4.375 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.006637, allocations: 7.938 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.006794, allocations: 101.3 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.006858, allocations: 26.52 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.006881, allocations: 4.859 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.006906, allocations: 4.062 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.006942, allocations: 34.55 kB / 0.5573 GB, free: 13.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006942, allocations: 0 / 0.5573 GB, free: 13.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.007108, allocations: 45.64 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.007249, allocations: 55.53 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.007341, allocations: 93.8 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.007369, allocations: 37.69 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.007416, allocations: 80.14 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.007439, allocations: 3.953 kB / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.007474, allocations: 13.72 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.007639, allocations: 314.8 kB / 0.5579 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.00765, allocations: 0 / 0.5579 GB, free: 13.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.007661, allocations: 4 kB / 0.5579 GB, free: 13.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.007698, allocations: 13.05 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007699, allocations: 3.938 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.467e-05/0.007784, allocations: 57.58 kB / 0.5579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.0078, allocations: 4 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007804, allocations: 0 / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.00782, allocations: 0 / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.007972, allocations: 11.98 kB / 0.558 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000492/0.008464, allocations: 0.5821 MB / 0.5585 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.008484, allocations: 4.031 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.008489, allocations: 4.125 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB 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.278e-05/0.008582, allocations: 109.8 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.008596, allocations: 7.938 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.008715, allocations: 48.94 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008717, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.008721, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.008725, allocations: 3.984 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.008827, allocations: 101.3 kB / 0.5588 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008828, allocations: 0 / 0.5588 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.008906, allocations: 12.03 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008909, allocations: 0 / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.008918, allocations: 3.938 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004278/0.009346, allocations: 0.5899 MB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.00935, allocations: 3.984 kB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.451e-05/0.009444, allocations: 65.03 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.009453, allocations: 4 kB / 0.5595 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.009468, allocations: 3.984 kB / 0.5595 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.009485, allocations: 4 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.009498, allocations: 4.125 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.009503, allocations: 4 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.461e-05/0.009547, allocations: 75.28 kB / 0.5595 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009547, allocations: 0 / 0.5595 GB, free: 11.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.00975, allocations: 11.94 kB / 0.5596 GB, free: 11.23 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 (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.0001875/0.009937, allocations: 107.2 kB / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.01012, allocations: 27.92 kB / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01012, allocations: 160 / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.01022, allocations: 19.92 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.01037, allocations: 8.953 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.01074, allocations: 100.7 kB / 0.5598 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.804e-05/0.0108, allocations: 55.36 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.01082, allocations: 0 / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.01084, allocations: 12.5 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01084, allocations: 4.062 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of Templates: time 0.00314/0.01398, allocations: 495.5 kB / 0.5603 GB, free: 10.41 MB / 490.7 MB " [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.402382974978536]