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.001829/0.001829, allocations: 88.72 kB / 19.44 MB, free: 356 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.002353/0.002353, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.004125/0.004125, allocations: 229.4 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.146/1.146, allocations: 138.4 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.273e-06/1.273e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.139e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002314/0.002335, allocations: 1.29 MB / 0.5556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003344, allocations: 0.5254 MB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.003362, allocations: 0 / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.003378, allocations: 0 / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.003424, allocations: 15.86 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.003917, allocations: 147.2 kB / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.003966, allocations: 15.94 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.785e-05/0.003994, allocations: 7.922 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.004022, allocations: 11.98 kB / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.00407, allocations: 11.98 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.004082, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.004741, allocations: 267.4 kB / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.004756, allocations: 7.984 kB / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.004778, allocations: 11.98 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.005046, allocations: 151.5 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005048, allocations: 0 / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005049, allocations: 0 / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.005052, allocations: 0 / 0.5567 GB, free: 14.41 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.0004161/0.005468, allocations: 286 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.005499, allocations: 12.75 kB / 0.557 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.005533, allocations: 0.9375 kB / 0.557 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.005653, allocations: 113.7 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.005665, allocations: 4.375 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.005675, allocations: 8.375 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.005773, allocations: 42.19 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.005779, allocations: 4.188 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005787, allocations: 384 / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.00579, allocations: 384 / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.005844, allocations: 19.92 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.006146, allocations: 196.5 kB / 0.5574 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.006345, allocations: 50.62 kB / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.006381, allocations: 12.84 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.006403, allocations: 8 kB / 0.5574 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.006433, allocations: 34.56 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.006435, allocations: 0 / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001868/0.006621, allocations: 65.75 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.006666, allocations: 51.41 kB / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.006752, allocations: 97.84 kB / 0.5577 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.006774, allocations: 25.7 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.006837, allocations: 96.08 kB / 0.5578 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.006861, allocations: 11.89 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.006897, allocations: 17.72 kB / 0.5578 GB, free: 13.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.007063, allocations: 310.8 kB / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.007087, allocations: 19.98 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.007117, allocations: 13.72 kB / 0.5582 GB, free: 12.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.007176, allocations: 29.84 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.00718, allocations: 4 kB / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.007283, allocations: 61.62 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.007294, allocations: 4 kB / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.007302, allocations: 7.922 kB / 0.5583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.007317, allocations: 4 kB / 0.5583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.007362, allocations: 4 kB / 0.5583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.007369, allocations: 11.97 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.007395, allocations: 3.938 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.0074, allocations: 0 / 0.5583 GB, free: 12.62 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 9.751e-05/0.007497, allocations: 113.8 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.007523, allocations: 4 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.007666, allocations: 69.19 kB / 0.5585 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.00767, allocations: 4 kB / 0.5585 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007674, allocations: 0 / 0.5585 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.007676, allocations: 3.938 kB / 0.5585 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.007819, allocations: 105.3 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00782, allocations: 0 / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.007863, allocations: 15.92 kB / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.007864, allocations: 0 / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.00787, allocations: 0 / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.007873, allocations: 3.938 kB / 0.5586 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.007876, allocations: 3.984 kB / 0.5586 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.008025, allocations: 147.5 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.008031, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.008041, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.008094, allocations: 3.938 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.008111, allocations: 11.98 kB / 0.5587 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.008114, allocations: 0 / 0.5587 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.008166, allocations: 83.61 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008166, allocations: 0 / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.008414, allocations: 15.94 kB / 0.5588 GB, free: 11.98 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.0001819/0.008596, allocations: 123 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.00868, allocations: 24.11 kB / 0.559 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008681, allocations: 0 / 0.559 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.008708, allocations: 15.98 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.00891, allocations: 8.062 kB / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.009189, allocations: 120.5 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.118e-05/0.009251, allocations: 59.34 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.009276, allocations: 4 kB / 0.5592 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.009315, allocations: 16.5 kB / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009316, allocations: 0 / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.00279/0.01211, allocations: 0.5218 MB / 0.5597 GB, free: 11.05 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5239794900408015]