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.0008793/0.0008793, allocations: 93.06 kB / 19.65 MB, free: 276 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.0008885/0.0008885, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9265/0.9265, 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.001627/0.001627, allocations: 236.9 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.8056/0.8056, allocations: 138.4 MB / 455.2 MB, free: 1.52 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.583e-06/1.583e-06, allocations: 0 / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.268e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001864/0.001887, allocations: 1.321 MB / 0.5564 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.00271, allocations: 0.5643 MB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.002751, allocations: 4 kB / 0.557 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.002783, allocations: 7.922 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.00285, allocations: 7.938 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.003425, allocations: 147.2 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.003494, allocations: 23.92 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.003538, allocations: 0 / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.003578, allocations: 15.92 kB / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.00363, allocations: 4 kB / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.003645, allocations: 0 / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.003996, allocations: 271.4 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.004013, allocations: 8 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.004033, allocations: 0 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.004256, allocations: 159.5 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004259, allocations: 3.938 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00426, allocations: 0 / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.004264, allocations: 0 / 0.5576 GB, free: 13.96 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.0004145/0.004679, allocations: 392.2 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.004728, allocations: 12.75 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.004771, allocations: 0.9375 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.00487, allocations: 108.6 kB / 0.5581 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.004887, allocations: 8.359 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.004903, allocations: 384 / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005019, allocations: 42.25 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.005032, allocations: 192 / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005043, allocations: 384 / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.005053, allocations: 384 / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.005094, allocations: 23.86 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.005449, allocations: 263.7 kB / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.005649, allocations: 51.11 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.005683, allocations: 19.69 kB / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.005706, allocations: 4 kB / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.00573, allocations: 37.39 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.005731, allocations: 0 / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.000154/0.005885, allocations: 57.56 kB / 0.5586 GB, free: 12.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.005914, allocations: 51.41 kB / 0.5586 GB, free: 12.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.005989, allocations: 157.9 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.006001, allocations: 29.7 kB / 0.5588 GB, free: 12.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.00605, allocations: 130.9 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.00606, allocations: 11.84 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.006096, allocations: 27.36 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.006215, allocations: 0.4884 MB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.006232, allocations: 8 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.006262, allocations: 23.36 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.006309, allocations: 35.31 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.006312, allocations: 0 / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.271e-05/0.006395, allocations: 57.7 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.006407, allocations: 4 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.006416, allocations: 11.94 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.006432, allocations: 0 / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.006474, allocations: 12.03 kB / 0.5596 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.006482, allocations: 3.984 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.0065, allocations: 4 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.006506, allocations: 4 kB / 0.5596 GB, free: 11.7 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 7.281e-05/0.006579, allocations: 152.6 kB / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.006596, allocations: 4.422 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.006735, allocations: 69.17 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006736, allocations: 0 / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.006741, allocations: 4 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006745, allocations: 7.984 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.006855, allocations: 116.6 kB / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.006856, allocations: 0 / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.00688, allocations: 4 kB / 0.5599 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.006883, allocations: 4 kB / 0.5599 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.00689, allocations: 0 / 0.5599 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006892, allocations: 7.875 kB / 0.5599 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.006896, allocations: 7.969 kB / 0.5599 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.007014, allocations: 195.9 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.007021, allocations: 0 / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.007031, allocations: 4 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.007059, allocations: 11.88 kB / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.007077, allocations: 0 / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.00708, allocations: 4 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.007117, allocations: 123.2 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007117, allocations: 0 / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.007301, allocations: 27.88 kB / 0.5603 GB, free: 10.89 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.0001454/0.007446, allocations: 111.2 kB / 0.5604 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.101e-05/0.007537, allocations: 27.67 kB / 0.5604 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007539, allocations: 0 / 0.5604 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.007556, allocations: 23.69 kB / 0.5604 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.007714, allocations: 4 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.008004, allocations: 130.2 kB / 0.5606 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.008043, allocations: 55.36 kB / 0.5606 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.565e-05/0.008068, allocations: 0 / 0.5606 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.008091, allocations: 16.5 kB / 0.5606 GB, free: 10.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008092, allocations: 0 / 0.5606 GB, free: 10.47 MB / 490.7 MB Notification: Performance of Templates: time 0.002392/0.01048, allocations: 0.5284 MB / 0.5612 GB, free: 9.953 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.923458886798471]