Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 113.3 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 196 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 64.12 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.333, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002656/0.3357, allocations: 1.269 MB / 0.5588 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.3366, allocations: 0.6017 MB / 0.5594 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.3366, allocations: 0 / 0.5594 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.3367, allocations: 3.719 kB / 0.5594 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.3367, allocations: 4.688 kB / 0.5594 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.3374, allocations: 142.1 kB / 0.5595 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.3374, allocations: 16.72 kB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.3375, allocations: 10.16 kB / 0.5596 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.3375, allocations: 5.297 kB / 0.5596 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.3376, allocations: 11.56 kB / 0.5596 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3376, allocations: 1.156 kB / 0.5596 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.3382, allocations: 345.3 kB / 0.5599 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.3382, allocations: 2.922 kB / 0.5599 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.3382, allocations: 12.31 kB / 0.5599 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.3385, allocations: 149.6 kB / 0.5601 GB, free: 35.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3385, allocations: 0 / 0.5601 GB, free: 35.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3386, allocations: 1.094 kB / 0.5601 GB, free: 35.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3386, allocations: 0 / 0.5601 GB, free: 35.14 MB / 446.1 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.0004254/0.339, allocations: 355.3 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.339, allocations: 9.656 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.3391, allocations: 3.391 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3392, allocations: 171.6 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3392, allocations: 2.062 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3393, allocations: 2.969 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3394, allocations: 44.42 kB / 0.5606 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3394, allocations: 4.828 kB / 0.5606 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3394, allocations: 12.34 kB / 0.5607 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3394, allocations: 1.125 kB / 0.5607 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/0.3395, allocations: 12.58 kB / 0.5607 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.3398, allocations: 260.2 kB / 0.5609 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.34, allocations: 51.14 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.3401, allocations: 22.36 kB / 0.561 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3401, allocations: 2.953 kB / 0.561 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3401, allocations: 31.92 kB / 0.561 GB, free: 34.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.3401, allocations: 1.938 kB / 0.561 GB, free: 34.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.3403, allocations: 56.27 kB / 0.5611 GB, free: 34.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.3403, allocations: 52.78 kB / 0.5611 GB, free: 34.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.113e-05/0.3404, allocations: 97.27 kB / 0.5612 GB, free: 33.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3404, allocations: 28.55 kB / 0.5612 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.3404, allocations: 84.7 kB / 0.5613 GB, free: 33.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.3404, allocations: 11.47 kB / 0.5613 GB, free: 33.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3405, allocations: 22.72 kB / 0.5614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.3405, allocations: 315.3 kB / 0.5617 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.3406, allocations: 4.828 kB / 0.5617 GB, free: 33.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.3406, allocations: 23.23 kB / 0.5617 GB, free: 33.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.3406, allocations: 29.72 kB / 0.5617 GB, free: 33.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3406, allocations: 2.594 kB / 0.5617 GB, free: 33.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.726e-05/0.3407, allocations: 63.02 kB / 0.5618 GB, free: 33.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3408, allocations: 5.469 kB / 0.5618 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3408, allocations: 6.047 kB / 0.5618 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3408, allocations: 0.5625 kB / 0.5618 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.3408, allocations: 12.97 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3409, allocations: 2.656 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.3409, allocations: 5.094 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3409, allocations: 1.156 kB / 0.5618 GB, free: 33.38 MB / 446.1 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 4.55e-05/0.3409, allocations: 113.9 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.341, allocations: 6.75 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3411, allocations: 64.86 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3411, allocations: 1.188 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3411, allocations: 3.156 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3411, allocations: 2.078 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3413, allocations: 161.4 kB / 0.5621 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3413, allocations: 0.6562 kB / 0.5621 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.3413, allocations: 7.141 kB / 0.5622 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3413, allocations: 0 / 0.5622 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3413, allocations: 5.984 kB / 0.5622 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3413, allocations: 0 / 0.5622 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3413, allocations: 3.938 kB / 0.5622 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.3414, allocations: 153.8 kB / 0.5623 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.3415, allocations: 78.81 kB / 0.5624 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3415, allocations: 2.438 kB / 0.5624 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.3415, allocations: 5.375 kB / 0.5624 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.3416, allocations: 5.656 kB / 0.5624 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3416, allocations: 1.531 kB / 0.5624 GB, free: 32.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.002e-05/0.3416, allocations: 82.16 kB / 0.5625 GB, free: 32.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3416, allocations: 0 / 0.5625 GB, free: 32.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3418, allocations: 20.06 kB / 0.5625 GB, free: 32.68 MB / 446.1 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.0001658/0.342, allocations: 115 kB / 0.5626 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.3421, allocations: 30.45 kB / 0.5626 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3421, allocations: 0 / 0.5626 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.3422, allocations: 18.66 kB / 0.5627 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3424, allocations: 6.812 kB / 0.5627 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.3427, allocations: 121.3 kB / 0.5628 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3428, allocations: 0.6858 MB / 0.5634 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.3429, allocations: 4.281 kB / 0.5634 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.3429, allocations: 10.47 kB / 0.5635 GB, free: 31.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3429, allocations: 0.625 kB / 0.5635 GB, free: 31.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002834/0.3457, allocations: 0.501 MB / 0.5639 GB, free: 31.7 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)