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.001134/0.001134, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001017/0.001017, allocations: 194.3 kB / 16.91 MB, free: 6.195 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.4906 GB, free: 7.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3595, allocations: 77.94 MB / 0.5667 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002349/0.3619, allocations: 1.334 MB / 0.568 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.3628, allocations: 0.5899 MB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.3629, allocations: 0 / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3629, allocations: 1.5 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.3629, allocations: 9.828 kB / 0.5686 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.3634, allocations: 126.6 kB / 0.5687 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.3635, allocations: 24.02 kB / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3636, allocations: 2.859 kB / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.3636, allocations: 6.156 kB / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.3636, allocations: 18.81 kB / 0.5688 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.3636, allocations: 1.219 kB / 0.5688 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.3641, allocations: 339 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3641, allocations: 2.016 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.3642, allocations: 16.67 kB / 0.5691 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3644, allocations: 144.5 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3644, allocations: 3.5 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3644, allocations: 0.7969 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3644, allocations: 0 / 0.5693 GB, free: 31.2 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.0003451/0.3648, allocations: 357 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3648, allocations: 10.75 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3649, allocations: 3.219 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.3649, allocations: 166.8 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.365, allocations: 3.25 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.365, allocations: 5.531 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.3651, allocations: 41.95 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3651, allocations: 192 / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3651, allocations: 4.531 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3651, allocations: 1.375 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.3652, allocations: 24.8 kB / 0.5699 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.3654, allocations: 246.8 kB / 0.5701 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3656, allocations: 54.95 kB / 0.5702 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.3657, allocations: 17.8 kB / 0.5702 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3657, allocations: 3.812 kB / 0.5702 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.3657, allocations: 39.97 kB / 0.5702 GB, free: 30.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3657, allocations: 1.219 kB / 0.5702 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001496/0.3659, allocations: 60.06 kB / 0.5703 GB, free: 30.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3659, allocations: 52.69 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.513e-05/0.3659, allocations: 96.28 kB / 0.5704 GB, free: 30 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.366, allocations: 30.77 kB / 0.5704 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.366, allocations: 81.45 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.366, allocations: 11.69 kB / 0.5705 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.366, allocations: 27.08 kB / 0.5706 GB, free: 29.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.3661, allocations: 313.5 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.3661, allocations: 10.06 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.3661, allocations: 21.56 kB / 0.5709 GB, free: 29.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.3662, allocations: 33.27 kB / 0.5709 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3662, allocations: 0 / 0.5709 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.992e-05/0.3663, allocations: 64.61 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3663, allocations: 6.75 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3663, allocations: 2.438 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3663, allocations: 0.6562 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.3664, allocations: 8.203 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3664, allocations: 2.656 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.3664, allocations: 5.219 kB / 0.571 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3664, allocations: 1.312 kB / 0.571 GB, free: 29.43 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.137e-05/0.3665, allocations: 118.7 kB / 0.5711 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.3665, allocations: 5.594 kB / 0.5711 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3666, allocations: 63.91 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3666, allocations: 1.188 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3667, allocations: 0 / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3667, allocations: 1.688 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.3668, allocations: 163.1 kB / 0.5713 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3668, allocations: 0.7031 kB / 0.5713 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.3668, allocations: 7.062 kB / 0.5714 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3668, allocations: 1.25 kB / 0.5714 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.3668, allocations: 1.922 kB / 0.5714 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3668, allocations: 0 / 0.5714 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3669, allocations: 3.25 kB / 0.5714 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/0.3669, allocations: 155.6 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.367, allocations: 79.42 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.367, allocations: 6.094 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.367, allocations: 0.6094 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.3671, allocations: 3.234 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3671, allocations: 5.953 kB / 0.5716 GB, free: 28.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.3671, allocations: 80.38 kB / 0.5717 GB, free: 28.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3671, allocations: 0 / 0.5717 GB, free: 28.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3674, allocations: 18.41 kB / 0.5717 GB, free: 28.73 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.0001429/0.3675, allocations: 123.9 kB / 0.5718 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.343e-05/0.3676, allocations: 30.19 kB / 0.5718 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3676, allocations: 1.719 kB / 0.5718 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.3676, allocations: 10.05 kB / 0.5719 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.3679, allocations: 9.094 kB / 0.5719 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.3681, allocations: 134.1 kB / 0.572 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3682, allocations: 0.6767 MB / 0.5726 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3683, allocations: 8.469 kB / 0.5727 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.3683, allocations: 11.56 kB / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3683, allocations: 0 / 0.5727 GB, free: 27.78 MB / 446.1 MB Notification: Performance of Templates: time 0.00256/0.3709, allocations: 0.4998 MB / 0.5732 GB, free: 27.73 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)