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.001146/0.001146, allocations: 105.2 kB / 15.98 MB, free: 6.359 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.001203/0.001203, allocations: 191.4 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7429/0.7429, allocations: 122.9 MB / 413.6 MB, free: 12 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3548, allocations: 77.92 MB / 0.5667 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002702/0.3575, allocations: 1.301 MB / 0.568 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3586, allocations: 0.5788 MB / 0.5685 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.3586, allocations: 1.375 kB / 0.5685 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.3587, allocations: 0.6094 kB / 0.5685 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.3587, allocations: 4.594 kB / 0.5685 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.3593, allocations: 125.8 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.3593, allocations: 10.25 kB / 0.5687 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.3594, allocations: 6.828 kB / 0.5687 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.3594, allocations: 9.969 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.3595, allocations: 8 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.3595, allocations: 2.219 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.36, allocations: 336.5 kB / 0.569 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.36, allocations: 2.094 kB / 0.569 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.36, allocations: 14.14 kB / 0.569 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3603, allocations: 133.4 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3603, allocations: 2.656 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3603, allocations: 0 / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3603, allocations: 0 / 0.5692 GB, free: 31.32 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.0003591/0.3607, allocations: 358.8 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3607, allocations: 9.781 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3608, allocations: 4.844 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.3609, allocations: 163.7 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3609, allocations: 1.625 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3609, allocations: 2.141 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/0.361, allocations: 30.83 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.361, allocations: 1.25 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.361, allocations: 5.062 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.361, allocations: 0 / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.3611, allocations: 5.391 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.3612, allocations: 152.5 kB / 0.5699 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.3613, allocations: 28.8 kB / 0.5699 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.3613, allocations: 13.03 kB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3613, allocations: 4.984 kB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3613, allocations: 33.27 kB / 0.5699 GB, free: 30.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3613, allocations: 0 / 0.5699 GB, free: 30.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.3615, allocations: 45.64 kB / 0.57 GB, free: 30.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.3615, allocations: 57.33 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.3616, allocations: 94.33 kB / 0.5701 GB, free: 30.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.3616, allocations: 27.17 kB / 0.5702 GB, free: 30.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.3616, allocations: 80.83 kB / 0.5702 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.3616, allocations: 13.81 kB / 0.5702 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.3617, allocations: 14 kB / 0.5703 GB, free: 30.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.3617, allocations: 313.5 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.3617, allocations: 1.281 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.3618, allocations: 8.781 kB / 0.5706 GB, free: 29.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.3618, allocations: 10.64 kB / 0.5706 GB, free: 29.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3618, allocations: 0 / 0.5706 GB, free: 29.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.592e-05/0.3619, allocations: 47.25 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3619, allocations: 6.719 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3619, allocations: 7.875 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3619, allocations: 1.125 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3621, allocations: 9.453 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002418/0.3623, allocations: 0.5814 MB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.3623, allocations: 9.062 kB / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3624, allocations: 0 / 0.5712 GB, free: 29.11 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.826e-05/0.3624, allocations: 113.5 kB / 0.5713 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.3624, allocations: 5.031 kB / 0.5713 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.3625, allocations: 51.73 kB / 0.5714 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3625, allocations: 0 / 0.5714 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3625, allocations: 0.8438 kB / 0.5714 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3625, allocations: 0 / 0.5714 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.302e-05/0.3626, allocations: 155.1 kB / 0.5715 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3626, allocations: 1.656 kB / 0.5715 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.3627, allocations: 14.88 kB / 0.5715 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3627, allocations: 0 / 0.5715 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.3627, allocations: 2.469 kB / 0.5715 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000182/0.3629, allocations: 0.5809 MB / 0.5721 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3629, allocations: 7.875 kB / 0.5721 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.434e-05/0.363, allocations: 62.97 kB / 0.5722 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.363, allocations: 80.25 kB / 0.5723 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.363, allocations: 0 / 0.5723 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.466e-05/0.363, allocations: 3.594 kB / 0.5723 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.3631, allocations: 4.547 kB / 0.5723 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.3631, allocations: 5.781 kB / 0.5723 GB, free: 27.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.3631, allocations: 78.83 kB / 0.5723 GB, free: 27.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3631, allocations: 0 / 0.5723 GB, free: 27.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.3633, allocations: 7.656 kB / 0.5724 GB, free: 27.92 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.0001404/0.3634, allocations: 109.8 kB / 0.5725 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3636, allocations: 22.61 kB / 0.5725 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3636, allocations: 4.969 kB / 0.5725 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.3637, allocations: 13.59 kB / 0.5725 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3639, allocations: 3.031 kB / 0.5725 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3642, allocations: 118.6 kB / 0.5726 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.977e-05/0.3643, allocations: 0.6742 MB / 0.5733 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.3643, allocations: 1.234 kB / 0.5733 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.3643, allocations: 9.562 kB / 0.5733 GB, free: 26.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3643, allocations: 0 / 0.5733 GB, free: 26.99 MB / 446.1 MB Notification: Performance of Templates: time 0.002285/0.3666, allocations: 443.7 kB / 0.5737 GB, free: 26.96 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)