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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.475/0.475, allocations: 90.82 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.0008331, allocations: 108.5 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.705e-05, allocations: 0 / 0.4896 GB, free: 5.348 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.403, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5394, allocations: 103.2 MB / 0.661 GB, free: 1.105 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5397, allocations: 87.94 kB / 0.6611 GB, free: 1.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01573/0.5554, allocations: 5.396 MB / 0.6664 GB, free: 11.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5555, allocations: 4 kB / 0.6664 GB, free: 11.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.5555, allocations: 1.688 kB / 0.6664 GB, free: 11.63 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.0004039/0.5559, allocations: 354.4 kB / 0.6667 GB, free: 11.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.556, allocations: 11.98 kB / 0.6667 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.556, allocations: 11.89 kB / 0.6667 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.5562, allocations: 167 kB / 0.6669 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.5562, allocations: 4 kB / 0.6669 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.5562, allocations: 4 kB / 0.6669 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.5563, allocations: 41.69 kB / 0.6669 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5564, allocations: 4 kB / 0.6669 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5564, allocations: 3.953 kB / 0.6669 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5564, allocations: 0 / 0.6669 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.5565, allocations: 12 kB / 0.667 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.5568, allocations: 248.9 kB / 0.6672 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.5571, allocations: 50.69 kB / 0.6672 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.5571, allocations: 16.86 kB / 0.6673 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.5572, allocations: 7.953 kB / 0.6673 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5572, allocations: 30.56 kB / 0.6673 GB, free: 10.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.5572, allocations: 0 / 0.6673 GB, free: 10.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001628/0.5574, allocations: 53.19 kB / 0.6673 GB, free: 10.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.5574, allocations: 55.41 kB / 0.6674 GB, free: 10.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.5575, allocations: 100.9 kB / 0.6675 GB, free: 10.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5575, allocations: 29.7 kB / 0.6675 GB, free: 10.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.5576, allocations: 84.05 kB / 0.6676 GB, free: 10.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.5576, allocations: 7.812 kB / 0.6676 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5576, allocations: 4 kB / 0.6676 GB, free: 10.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5577, allocations: 314.8 kB / 0.6679 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.5577, allocations: 4 kB / 0.6679 GB, free: 9.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.5578, allocations: 25.64 kB / 0.6679 GB, free: 9.809 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.5578, allocations: 16 kB / 0.668 GB, free: 9.793 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5578, allocations: 0 / 0.668 GB, free: 9.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.923e-05/0.5579, allocations: 53.62 kB / 0.668 GB, free: 9.734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5579, allocations: 11.95 kB / 0.668 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.558, allocations: 0 / 0.668 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.558, allocations: 0 / 0.668 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.558, allocations: 8 kB / 0.668 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.558, allocations: 3.984 kB / 0.668 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.5581, allocations: 0 / 0.668 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5581, allocations: 4.312 kB / 0.668 GB, free: 9.707 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.5582, allocations: 109 kB / 0.6681 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.5582, allocations: 7.938 kB / 0.6681 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.5583, allocations: 68.55 kB / 0.6682 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5584, allocations: 4 kB / 0.6682 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5584, allocations: 0 / 0.6682 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5584, allocations: 0 / 0.6682 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.5586, allocations: 157.7 kB / 0.6684 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5586, allocations: 8 kB / 0.6684 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.5586, allocations: 11.98 kB / 0.6684 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5586, allocations: 0 / 0.6684 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.5586, allocations: 0 / 0.6684 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5586, allocations: 3.953 kB / 0.6684 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5586, allocations: 0 / 0.6684 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5588, allocations: 147.5 kB / 0.6685 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.5588, allocations: 81.11 kB / 0.6686 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.5588, allocations: 0 / 0.6686 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.5589, allocations: 4 kB / 0.6686 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.5589, allocations: 9.625 kB / 0.6686 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5589, allocations: 4 kB / 0.6686 GB, free: 9.008 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.559, allocations: 75.28 kB / 0.6687 GB, free: 8.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.559, allocations: 0 / 0.6687 GB, free: 8.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.5592, allocations: 24 kB / 0.6687 GB, free: 8.91 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.5594, allocations: 127.2 kB / 0.6688 GB, free: 8.777 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.593e-05/0.5595, allocations: 35.86 kB / 0.6689 GB, free: 8.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5596, allocations: 0 / 0.6689 GB, free: 8.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.5596, allocations: 12 kB / 0.6689 GB, free: 8.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.5597, allocations: 5.75 kB / 0.6689 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.5599, allocations: 68.92 kB / 0.669 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5602, allocations: 0.677 MB / 0.6696 GB, free: 7.934 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.62e-05/0.5602, allocations: 8.062 kB / 0.6696 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.5603, allocations: 7.438 kB / 0.6696 GB, free: 7.918 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5603, allocations: 3.938 kB / 0.6696 GB, free: 7.914 MB / 490.7 MB Notification: Performance of Templates: time 0.002289/0.5626, allocations: 498 kB / 0.6701 GB, free: 7.449 MB / 490.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)