Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001165/0.001165, allocations: 192 kB / 17.2 MB, free: 5.598 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7526/0.7526, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.4911 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3725, allocations: 77.92 MB / 0.5672 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002132/0.3746, allocations: 1.245 MB / 0.5684 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.3755, allocations: 0.5829 MB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.3755, allocations: 0 / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.3756, allocations: 0.7031 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.3756, allocations: 5.125 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3761, allocations: 142.5 kB / 0.5691 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.176e-05/0.3762, allocations: 6.641 kB / 0.5691 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.3762, allocations: 5.781 kB / 0.5691 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.727e-05/0.3762, allocations: 10.31 kB / 0.5691 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.3763, allocations: 4.609 kB / 0.5691 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3763, allocations: 1.094 kB / 0.5691 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.3768, allocations: 341.6 kB / 0.5695 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.3768, allocations: 5.875 kB / 0.5695 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.3768, allocations: 7.266 kB / 0.5695 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3771, allocations: 137.8 kB / 0.5696 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3771, allocations: 4 kB / 0.5696 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3771, allocations: 0.5625 kB / 0.5696 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.3771, allocations: 0 / 0.5696 GB, free: 31.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002813/0.3774, allocations: 342.5 kB / 0.5699 GB, free: 31.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3774, allocations: 13.31 kB / 0.57 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.3775, allocations: 6.219 kB / 0.57 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.3775, allocations: 168.2 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3776, allocations: 384 / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.3776, allocations: 3 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.632e-05/0.3776, allocations: 35.27 kB / 0.5702 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.3777, allocations: 192 / 0.5702 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3777, allocations: 5.719 kB / 0.5702 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3777, allocations: 1.797 kB / 0.5702 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.3777, allocations: 3.5 kB / 0.5702 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.3778, allocations: 150.7 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.3779, allocations: 26.42 kB / 0.5703 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.3779, allocations: 12.77 kB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3779, allocations: 0.7031 kB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.378, allocations: 32.81 kB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.378, allocations: 0 / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001162/0.3781, allocations: 43.05 kB / 0.5704 GB, free: 30.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3781, allocations: 57.61 kB / 0.5705 GB, free: 30.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/0.3782, allocations: 94.3 kB / 0.5706 GB, free: 30.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.3782, allocations: 25.7 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.3782, allocations: 87.02 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3782, allocations: 13.55 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.3782, allocations: 16.61 kB / 0.5707 GB, free: 30.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.3783, allocations: 313.1 kB / 0.571 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.3783, allocations: 4.047 kB / 0.571 GB, free: 29.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-06/0.3783, allocations: 2 kB / 0.571 GB, free: 29.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.3784, allocations: 18.69 kB / 0.571 GB, free: 29.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3784, allocations: 2.031 kB / 0.571 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.477e-05/0.3784, allocations: 35.8 kB / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.3784, allocations: 6.891 kB / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3784, allocations: 8.875 kB / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3785, allocations: 0 / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3786, allocations: 14.12 kB / 0.5711 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002229/0.3789, allocations: 0.5862 MB / 0.5717 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.3789, allocations: 0 / 0.5717 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3789, allocations: 1.062 kB / 0.5717 GB, free: 29.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.3789, allocations: 118 kB / 0.5718 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.379, allocations: 6.047 kB / 0.5718 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.379, allocations: 50 kB / 0.5718 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3791, allocations: 0.6094 kB / 0.5718 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3791, allocations: 0 / 0.5718 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3791, allocations: 1.438 kB / 0.5718 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.877e-05/0.3791, allocations: 156 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3791, allocations: 0.5312 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.3792, allocations: 11.17 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3792, allocations: 0.625 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3792, allocations: 2.5 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001829/0.3794, allocations: 0.5804 MB / 0.5726 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3794, allocations: 3.938 kB / 0.5726 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.321e-05/0.3795, allocations: 67.75 kB / 0.5726 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.3795, allocations: 81.75 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.3795, allocations: 3.125 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.3796, allocations: 0.5625 kB / 0.5727 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3796, allocations: 5.859 kB / 0.5727 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3796, allocations: 1.281 kB / 0.5727 GB, free: 28.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.953e-05/0.3796, allocations: 78.72 kB / 0.5728 GB, free: 28.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3796, allocations: 0 / 0.5728 GB, free: 28.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001965/0.3798, allocations: 15.94 kB / 0.5728 GB, free: 28.02 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.38, allocations: 107.1 kB / 0.5729 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.3801, allocations: 17.28 kB / 0.5729 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3802, allocations: 5.031 kB / 0.5729 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.3802, allocations: 12.97 kB / 0.5729 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.3804, allocations: 11.59 kB / 0.573 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.3807, allocations: 102 kB / 0.5731 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.3808, allocations: 0.6784 MB / 0.5737 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.3808, allocations: 3.359 kB / 0.5737 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-06/0.3808, allocations: 7.438 kB / 0.5737 GB, free: 27.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3808, allocations: 1.062 kB / 0.5737 GB, free: 27.11 MB / 446.1 MB Notification: Performance of Templates: time 0.00233/0.3832, allocations: 449 kB / 0.5742 GB, free: 27.08 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)