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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 97.36 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002385, allocations: 171.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.699/2.699, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.151/1.151, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005345, allocations: 13.62 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2906, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02269/0.3134, allocations: 12.1 MB / 0.5685 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00846/0.3219, allocations: 3.167 MB / 0.5716 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.323, allocations: 15.88 kB / 0.5716 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.3244, allocations: 203 kB / 0.5718 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.3282, allocations: 0.5842 MB / 0.5724 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.3309, allocations: 471.1 kB / 0.5729 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.3334, allocations: 0.6517 MB / 0.5735 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009533/0.3344, allocations: 234.8 kB / 0.5737 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009895/0.3354, allocations: 271 kB / 0.574 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.336, allocations: 199 kB / 0.5742 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.336, allocations: 15.94 kB / 0.5742 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.3371, allocations: 167.8 kB / 0.5743 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.3373, allocations: 67.73 kB / 0.5744 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3375, allocations: 105.5 kB / 0.5745 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3387, allocations: 431.2 kB / 0.5749 GB, free: 8.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3387, allocations: 0 / 0.5749 GB, free: 8.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3387, allocations: 0 / 0.5749 GB, free: 8.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.3387, allocations: 0 / 0.5749 GB, free: 8.984 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.002092/0.3408, allocations: 0.6755 MB / 0.5756 GB, free: 8.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.598e-05/0.3409, allocations: 8.031 kB / 0.5756 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.3411, allocations: 66.53 kB / 0.5756 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.3415, allocations: 47.44 kB / 0.5757 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3427, allocations: 426.7 kB / 0.5761 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.3428, allocations: 20.56 kB / 0.5761 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.3429, allocations: 31.98 kB / 0.5761 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.344, allocations: 306.2 kB / 0.5764 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.344, allocations: 7.906 kB / 0.5764 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.3441, allocations: 11.95 kB / 0.5765 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.3442, allocations: 11.98 kB / 0.5765 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008115/0.345, allocations: 202.1 kB / 0.5767 GB, free: 7.066 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.00347/0.3485, allocations: 1.505 MB / 0.5781 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/0.3493, allocations: 162.6 kB / 0.5783 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.3496, allocations: 89.09 kB / 0.5784 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.3501, allocations: 135.4 kB / 0.5785 GB, free: 5.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 6.242e-06/0.3501, allocations: 0 / 0.5785 GB, free: 5.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001067/0.3512, allocations: 254.5 kB / 0.5787 GB, free: 4.766 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.3513, allocations: 55.41 kB / 0.5788 GB, free: 4.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.3519, allocations: 357.6 kB / 0.5791 GB, free: 4.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.352, allocations: 29.7 kB / 0.5792 GB, free: 4.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.3523, allocations: 215.8 kB / 0.5794 GB, free: 4.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.3524, allocations: 51.2 kB / 0.5794 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.3524, allocations: 8 kB / 0.5794 GB, free: 4.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.3527, allocations: 346.8 kB / 0.5798 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.353, allocations: 71.95 kB / 0.5798 GB, free: 3.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.3534, allocations: 153.3 kB / 0.58 GB, free: 3.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.3538, allocations: 123.7 kB / 0.5801 GB, free: 3.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3538, allocations: 0 / 0.5801 GB, free: 3.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009908/0.3548, allocations: 322.7 kB / 0.5804 GB, free: 2.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.3549, allocations: 37.7 kB / 0.5804 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3549, allocations: 4 kB / 0.5804 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3549, allocations: 4 kB / 0.5804 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.3553, allocations: 59.84 kB / 0.5805 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.3554, allocations: 7.984 kB / 0.5805 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.3559, allocations: 39.92 kB / 0.5805 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.356, allocations: 16 kB / 0.5806 GB, free: 2.809 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003286/0.3563, allocations: 157.7 kB / 0.5807 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.3564, allocations: 39.58 kB / 0.5807 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.3572, allocations: 204.5 kB / 0.5809 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3572, allocations: 3.984 kB / 0.5809 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3572, allocations: 0 / 0.5809 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007652/0.358, allocations: 497.4 kB / 0.5814 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.3589, allocations: 357.2 kB / 0.5818 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3589, allocations: 0 / 0.5818 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.3592, allocations: 39.91 kB / 0.5818 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.3592, allocations: 0 / 0.5818 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.3592, allocations: 7.953 kB / 0.5818 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3593, allocations: 0 / 0.5818 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3593, allocations: 4 kB / 0.5818 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3603, allocations: 294.7 kB / 0.5821 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.3606, allocations: 140.7 kB / 0.5822 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.3607, allocations: 4 kB / 0.5822 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.3611, allocations: 27.92 kB / 0.5823 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3613, allocations: 7.984 kB / 0.5823 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.3613, allocations: 15.98 kB / 0.5823 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004442/0.3618, allocations: 251.2 kB / 0.5825 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3618, allocations: 0 / 0.5825 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008141/0.3626, allocations: 135.7 kB / 0.5827 GB, free: 500 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6404/1.003, allocations: 0.9104 MB / 0.5835 GB, free: 33.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/1.004, allocations: 244.1 kB / 0.5838 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.004, allocations: 0.6875 kB / 0.5838 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/1.005, allocations: 74.19 kB / 0.5838 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.007, allocations: 198.8 kB / 0.584 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/1.015, allocations: 3.67 MB / 0.5876 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/1.016, allocations: 0.8055 MB / 0.5884 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008597/1.017, allocations: 70.86 kB / 0.5885 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/1.017, allocations: 116.5 kB / 0.5886 GB, free: 30.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.184e-06/1.017, allocations: 1.438 kB / 0.5886 GB, free: 30.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/1.073, allocations: 10.05 MB / 0.5984 GB, free: 29.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/1.074, allocations: 181 kB / 0.5986 GB, free: 28.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/4.529, allocations: 0 / 0.5986 GB, free: 28.83 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: