Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 107.2 kB / 17.02 MB, free: 6.094 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.001179/0.001179, allocations: 196.1 kB / 17.97 MB, free: 5.191 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.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.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 76.15 MB / 0.5576 GB, free: 36.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01287/0.3332, allocations: 14.4 MB / 0.5716 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004526/0.3378, allocations: 3.647 MB / 0.5752 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.3384, allocations: 22.62 kB / 0.5752 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.3391, allocations: 204.6 kB / 0.5754 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.3406, allocations: 0.5868 MB / 0.576 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.3415, allocations: 394.5 kB / 0.5763 GB, free: 23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3428, allocations: 1.09 MB / 0.5774 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.3433, allocations: 312 kB / 0.5777 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009918/0.3443, allocations: 386.8 kB / 0.5781 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.3447, allocations: 302.6 kB / 0.5784 GB, free: 22.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.3448, allocations: 33.34 kB / 0.5784 GB, free: 22.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007229/0.3455, allocations: 263.7 kB / 0.5787 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3456, allocations: 91.16 kB / 0.5787 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.3459, allocations: 218.4 kB / 0.5789 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008676/0.3467, allocations: 0.5885 MB / 0.5795 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3467, allocations: 4.906 kB / 0.5795 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3468, allocations: 0 / 0.5795 GB, free: 21.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3468, allocations: 1.156 kB / 0.5795 GB, free: 21.55 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001076/0.3479, allocations: 0.742 MB / 0.5803 GB, free: 20.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3479, allocations: 13.56 kB / 0.5803 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.3481, allocations: 47.05 kB / 0.5803 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/0.3488, allocations: 466.3 kB / 0.5808 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3489, allocations: 23.12 kB / 0.5808 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.3489, allocations: 33.59 kB / 0.5808 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.3495, allocations: 303.3 kB / 0.5811 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3495, allocations: 0 / 0.5811 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.3496, allocations: 12.88 kB / 0.5811 GB, free: 20.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.3496, allocations: 10.81 kB / 0.5811 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.3501, allocations: 195.5 kB / 0.5813 GB, free: 20.36 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3517, allocations: 1.487 MB / 0.5828 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.3521, allocations: 153.1 kB / 0.5829 GB, free: 19.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3523, allocations: 64.58 kB / 0.583 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.3524, allocations: 87.55 kB / 0.583 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.3527, allocations: 133.6 kB / 0.5832 GB, free: 18.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.3527, allocations: 5.844 kB / 0.5832 GB, free: 18.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005994/0.3533, allocations: 231.2 kB / 0.5834 GB, free: 18.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.3534, allocations: 62.7 kB / 0.5835 GB, free: 18.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.3537, allocations: 346.5 kB / 0.5838 GB, free: 18.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3538, allocations: 32.05 kB / 0.5838 GB, free: 18.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3539, allocations: 221.4 kB / 0.584 GB, free: 18.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.354, allocations: 53.8 kB / 0.5841 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.3541, allocations: 53.8 kB / 0.5841 GB, free: 18.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.3541, allocations: 344.3 kB / 0.5845 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3543, allocations: 69.81 kB / 0.5845 GB, free: 17.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3545, allocations: 155 kB / 0.5847 GB, free: 17.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.3549, allocations: 246.7 kB / 0.5849 GB, free: 17.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3549, allocations: 1.469 kB / 0.5849 GB, free: 17.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005521/0.3555, allocations: 311.4 kB / 0.5852 GB, free: 17.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.3555, allocations: 40.97 kB / 0.5853 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3555, allocations: 3 kB / 0.5853 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3556, allocations: 7.062 kB / 0.5853 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3558, allocations: 58.67 kB / 0.5853 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3558, allocations: 5.484 kB / 0.5853 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.3561, allocations: 35.97 kB / 0.5854 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3561, allocations: 12.84 kB / 0.5854 GB, free: 17.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001297/0.3562, allocations: 152.2 kB / 0.5855 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.3563, allocations: 37.69 kB / 0.5856 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.3567, allocations: 199.2 kB / 0.5857 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3568, allocations: 5.719 kB / 0.5857 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3568, allocations: 2.562 kB / 0.5857 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000374/0.3572, allocations: 482.3 kB / 0.5862 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.3576, allocations: 355 kB / 0.5865 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3576, allocations: 0 / 0.5865 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3578, allocations: 37.12 kB / 0.5866 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3578, allocations: 1.031 kB / 0.5866 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3578, allocations: 5.844 kB / 0.5866 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3578, allocations: 5 kB / 0.5866 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3578, allocations: 1.891 kB / 0.5866 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.3584, allocations: 279 kB / 0.5869 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3585, allocations: 126.4 kB / 0.587 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.3586, allocations: 6.453 kB / 0.587 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3588, allocations: 20.97 kB / 0.587 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3589, allocations: 17.27 kB / 0.587 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3589, allocations: 11.22 kB / 0.587 GB, free: 16.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.3592, allocations: 246.4 kB / 0.5873 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3592, allocations: 0 / 0.5873 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.3596, allocations: 124.5 kB / 0.5874 GB, free: 15.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003067/0.3599, allocations: 200 kB / 0.5876 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.3604, allocations: 225.6 kB / 0.5878 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3604, allocations: 1.312 kB / 0.5878 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.3606, allocations: 74.8 kB / 0.5879 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.3615, allocations: 219.9 kB / 0.5881 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3627, allocations: 0.7217 MB / 0.5888 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.3629, allocations: 0.7939 MB / 0.5896 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.3632, allocations: 61.48 kB / 0.5896 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.3633, allocations: 36.39 kB / 0.5897 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3633, allocations: 0 / 0.5897 GB, free: 14.45 MB / 446.1 MB Notification: Performance of Templates: time 0.01168/0.375, allocations: 7.141 MB / 0.5966 GB, free: 11.3 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)