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.00105/0.00105, allocations: 90.45 kB / 16.67 MB, free: 6.586 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.0009884/0.0009888, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.347/1.347, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7271/0.7271, allocations: 115.5 MB / 408.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3533, allocations: 77.51 MB / 0.5606 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00127/0.3546, allocations: 0.9743 MB / 0.5615 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.3555, allocations: 0.5824 MB / 0.5621 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.3555, allocations: 0 / 0.5621 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.3556, allocations: 0 / 0.5621 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.3556, allocations: 3.703 kB / 0.5621 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.3562, allocations: 126.6 kB / 0.5622 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.281e-05/0.3562, allocations: 10.5 kB / 0.5622 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.3563, allocations: 3 kB / 0.5622 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.3563, allocations: 5.156 kB / 0.5622 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.3564, allocations: 4.875 kB / 0.5623 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3564, allocations: 0 / 0.5623 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/0.357, allocations: 347.5 kB / 0.5626 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.357, allocations: 0.7031 kB / 0.5626 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.357, allocations: 31.05 kB / 0.5626 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.3572, allocations: 96.42 kB / 0.5627 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3572, allocations: 0 / 0.5627 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3572, allocations: 2.969 kB / 0.5627 GB, free: 34.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3573, allocations: 0 / 0.5627 GB, free: 34.98 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.0003462/0.3576, allocations: 342.6 kB / 0.563 GB, free: 34.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3577, allocations: 10 kB / 0.563 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.3577, allocations: 2.609 kB / 0.563 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.886e-05/0.3578, allocations: 166.9 kB / 0.5632 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3578, allocations: 2.781 kB / 0.5632 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.3578, allocations: 4.375 kB / 0.5632 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.3579, allocations: 31.33 kB / 0.5632 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3579, allocations: 2.625 kB / 0.5632 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3579, allocations: 5.5 kB / 0.5632 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3579, allocations: 0 / 0.5632 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.358, allocations: 4.391 kB / 0.5633 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.3581, allocations: 155.4 kB / 0.5634 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/0.3582, allocations: 26.16 kB / 0.5634 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.3582, allocations: 16.09 kB / 0.5634 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3582, allocations: 0 / 0.5634 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.3582, allocations: 34.89 kB / 0.5635 GB, free: 34.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3582, allocations: 3.938 kB / 0.5635 GB, free: 34.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001345/0.3584, allocations: 48.08 kB / 0.5635 GB, free: 34.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3584, allocations: 57.7 kB / 0.5636 GB, free: 33.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/0.3585, allocations: 94.81 kB / 0.5637 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.3585, allocations: 27.17 kB / 0.5637 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.3585, allocations: 80.83 kB / 0.5638 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3585, allocations: 6.031 kB / 0.5638 GB, free: 33.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.3586, allocations: 15.58 kB / 0.5638 GB, free: 33.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.3586, allocations: 313 kB / 0.5641 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.3586, allocations: 2.656 kB / 0.5641 GB, free: 33.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.3586, allocations: 3 kB / 0.5641 GB, free: 33.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.3587, allocations: 16.16 kB / 0.5641 GB, free: 33.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3587, allocations: 0 / 0.5641 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.295e-05/0.3588, allocations: 43.16 kB / 0.5642 GB, free: 33.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3588, allocations: 6.953 kB / 0.5642 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3588, allocations: 12.88 kB / 0.5642 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3588, allocations: 0 / 0.5642 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.359, allocations: 10.41 kB / 0.5642 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002542/0.3592, allocations: 0.5812 MB / 0.5648 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.3593, allocations: 1.531 kB / 0.5648 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3593, allocations: 1.031 kB / 0.5648 GB, free: 32.79 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 5.713e-05/0.3593, allocations: 115.9 kB / 0.5649 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.3594, allocations: 2.859 kB / 0.5649 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3595, allocations: 48.48 kB / 0.5649 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3595, allocations: 2.312 kB / 0.5649 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3595, allocations: 0 / 0.5649 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3595, allocations: 0.75 kB / 0.5649 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.708e-05/0.3596, allocations: 153 kB / 0.5651 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3596, allocations: 0 / 0.5651 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.3597, allocations: 11.16 kB / 0.5651 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3597, allocations: 0 / 0.5651 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3597, allocations: 9.906 kB / 0.5651 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001885/0.3599, allocations: 0.5848 MB / 0.5657 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3599, allocations: 6.125 kB / 0.5657 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.091e-05/0.36, allocations: 70.5 kB / 0.5657 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.36, allocations: 79.2 kB / 0.5658 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.36, allocations: 0.75 kB / 0.5658 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.36, allocations: 0 / 0.5658 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.36, allocations: 6.719 kB / 0.5658 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3601, allocations: 2.062 kB / 0.5658 GB, free: 31.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.116e-05/0.3601, allocations: 78.14 kB / 0.5659 GB, free: 31.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3601, allocations: 1.156 kB / 0.5659 GB, free: 31.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.3603, allocations: 16.02 kB / 0.5659 GB, free: 31.59 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.0001566/0.3605, allocations: 108.1 kB / 0.566 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3606, allocations: 28.3 kB / 0.566 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3606, allocations: 1.438 kB / 0.566 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.3607, allocations: 15.05 kB / 0.566 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3609, allocations: 0 / 0.566 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.3612, allocations: 132.7 kB / 0.5662 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3613, allocations: 0.6774 MB / 0.5668 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.3614, allocations: 9.156 kB / 0.5668 GB, free: 30.64 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3614, allocations: 0.875 kB / 0.5668 GB, free: 30.64 MB / 446.1 MB Notification: Performance of Templates: time 0.002557/0.3639, allocations: 0.682 MB / 0.5675 GB, free: 30.64 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)