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.0009714/0.0009714, allocations: 93.16 kB / 19.65 MB, free: 288 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.001656/0.001656, allocations: 172.9 kB / 23.02 MB, free: 1.555 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.088/1.088, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.001488/0.001488, allocations: 238.2 kB / 260.2 MB, free: 12.84 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 0.7241/0.7241, allocations: 138.4 MB / 455.2 MB, free: 1.543 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 2.144e-06/2.144e-06, allocations: 0 / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.208e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003262/0.003294, allocations: 1.325 MB / 0.5564 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.004367, allocations: 0.5643 MB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.004408, allocations: 0 / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.004441, allocations: 3.938 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.004504, allocations: 7.938 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.005228, allocations: 147.2 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.854e-05/0.005307, allocations: 23.88 kB / 0.5571 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.005355, allocations: 3.984 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.005397, allocations: 8 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.00546, allocations: 11.98 kB / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.005477, allocations: 0 / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.005954, allocations: 263.4 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.00598, allocations: 19.92 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.006008, allocations: 4 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.006313, allocations: 155.5 kB / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.006317, allocations: 0 / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.006318, allocations: 0 / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.006324, allocations: 3.938 kB / 0.5576 GB, free: 13.98 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.0004967/0.00682, allocations: 392.2 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.006876, allocations: 12.75 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.006928, allocations: 0.9375 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.007048, allocations: 108.6 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.007063, allocations: 8.375 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.007075, allocations: 384 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.007187, allocations: 42.25 kB / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.007196, allocations: 192 / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.007212, allocations: 384 / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.007222, allocations: 384 / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.007266, allocations: 19.86 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.007646, allocations: 259.8 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.007872, allocations: 47.17 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.007911, allocations: 23.67 kB / 0.5585 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.007931, allocations: 4 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.007958, allocations: 37.39 kB / 0.5585 GB, free: 12.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.00796, allocations: 0 / 0.5585 GB, free: 12.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.008162, allocations: 57.56 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.008203, allocations: 51.41 kB / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.008297, allocations: 162.1 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.008313, allocations: 29.7 kB / 0.5588 GB, free: 12.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.008376, allocations: 126.9 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.008392, allocations: 15.84 kB / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.008432, allocations: 19.38 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.008588, allocations: 0.5 MB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.00861, allocations: 4 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.008645, allocations: 19.38 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.008707, allocations: 47.47 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008709, allocations: 0 / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.008817, allocations: 57.58 kB / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.008835, allocations: 11.12 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.008843, allocations: 3.938 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.00886, allocations: 0 / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.008917, allocations: 12.03 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.008923, allocations: 0 / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.008946, allocations: 0 / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.008955, allocations: 4 kB / 0.5596 GB, free: 11.72 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 8.751e-05/0.009042, allocations: 156.6 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.009075, allocations: 7.984 kB / 0.5597 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.009235, allocations: 61.19 kB / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009239, allocations: 4 kB / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.009243, allocations: 0 / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.009246, allocations: 0 / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.009397, allocations: 124.6 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009399, allocations: 0 / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.009434, allocations: 4 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009437, allocations: 4 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.009447, allocations: 4 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.009451, allocations: 3.938 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.009453, allocations: 3.984 kB / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.009597, allocations: 191.9 kB / 0.5601 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.009607, allocations: 4 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.00962, allocations: 128 / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.009675, allocations: 11.92 kB / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.009695, allocations: 7.938 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.0097, allocations: 4 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.009747, allocations: 123.2 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009747, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.01007, allocations: 23.88 kB / 0.5603 GB, free: 10.93 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.0002237/0.0103, allocations: 123.1 kB / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.01042, allocations: 31.67 kB / 0.5604 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01042, allocations: 0 / 0.5604 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-05/0.01044, allocations: 20 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.01071, allocations: 4.062 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.01105, allocations: 126.3 kB / 0.5606 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.0111, allocations: 59.34 kB / 0.5606 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.01113, allocations: 0 / 0.5606 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.01116, allocations: 12.5 kB / 0.5606 GB, free: 10.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01116, allocations: 4 kB / 0.5606 GB, free: 10.49 MB / 490.7 MB Notification: Performance of Templates: time 0.003563/0.01473, allocations: 0.573 MB / 0.5612 GB, free: 9.93 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: 3.7471732939593494]