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.001019/0.001019, allocations: 100.1 kB / 15.88 MB, free: 12 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.001049/0.001049, allocations: 207 kB / 16.79 MB, free: 6.84 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.237/1.237, allocations: 222.9 MB / 240.5 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6286/0.6286, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.19 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 76.19 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01435/0.1356, allocations: 14.36 MB / 0.5699 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1403, allocations: 3.675 MB / 0.5735 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.1408, allocations: 19.88 kB / 0.5735 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.1415, allocations: 167.1 kB / 0.5736 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.1428, allocations: 0.5366 MB / 0.5742 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.1436, allocations: 354.3 kB / 0.5745 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1451, allocations: 1.461 MB / 0.5759 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.1455, allocations: 276.6 kB / 0.5762 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.146, allocations: 318.6 kB / 0.5765 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1465, allocations: 306.6 kB / 0.5768 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1466, allocations: 20 kB / 0.5768 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.1471, allocations: 247.4 kB / 0.577 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1472, allocations: 79.67 kB / 0.5771 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.1474, allocations: 206.9 kB / 0.5773 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.1481, allocations: 0.5685 MB / 0.5779 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1481, allocations: 0 / 0.5779 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1481, allocations: 4 kB / 0.5779 GB, free: 4.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1482, allocations: 0 / 0.5779 GB, free: 4.098 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.00113/0.1493, allocations: 0.7419 MB / 0.5786 GB, free: 3.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1493, allocations: 12.03 kB / 0.5786 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.1494, allocations: 58.72 kB / 0.5787 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1496, allocations: 48.47 kB / 0.5787 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.1503, allocations: 479.7 kB / 0.5792 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1503, allocations: 28.44 kB / 0.5792 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.1504, allocations: 24 kB / 0.5792 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.1509, allocations: 314.2 kB / 0.5795 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1509, allocations: 0 / 0.5795 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.151, allocations: 12 kB / 0.5795 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.151, allocations: 8 kB / 0.5795 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.1515, allocations: 190.1 kB / 0.5797 GB, free: 2.082 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.001653/0.1531, allocations: 1.489 MB / 0.5812 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.1535, allocations: 165.5 kB / 0.5813 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1537, allocations: 68.81 kB / 0.5814 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.1539, allocations: 81.11 kB / 0.5815 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1986/0.3525, allocations: 130.3 kB / 0.5816 GB, free: 34.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.3526, allocations: 0.625 kB / 0.5816 GB, free: 34.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007072/0.3533, allocations: 233.2 kB / 0.5818 GB, free: 34.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3533, allocations: 55.39 kB / 0.5819 GB, free: 34.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.3537, allocations: 337 kB / 0.5822 GB, free: 34.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3537, allocations: 30.73 kB / 0.5822 GB, free: 34.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3538, allocations: 220.8 kB / 0.5824 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3539, allocations: 50.44 kB / 0.5825 GB, free: 33.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.3539, allocations: 55.06 kB / 0.5825 GB, free: 33.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.354, allocations: 344.1 kB / 0.5829 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3542, allocations: 66.61 kB / 0.5829 GB, free: 33.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3544, allocations: 150.8 kB / 0.5831 GB, free: 33.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.3548, allocations: 245.2 kB / 0.5833 GB, free: 33.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3548, allocations: 0.9062 kB / 0.5833 GB, free: 33.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005379/0.3553, allocations: 316.3 kB / 0.5836 GB, free: 33.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3554, allocations: 35.33 kB / 0.5836 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3554, allocations: 9.344 kB / 0.5837 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3554, allocations: 3.844 kB / 0.5837 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3556, allocations: 55.53 kB / 0.5837 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3556, allocations: 8.875 kB / 0.5837 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3559, allocations: 38.08 kB / 0.5838 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3559, allocations: 10.52 kB / 0.5838 GB, free: 33.32 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.0001198/0.3561, allocations: 162.6 kB / 0.5839 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.3561, allocations: 33.14 kB / 0.5839 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.3565, allocations: 193.2 kB / 0.5841 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3566, allocations: 2.25 kB / 0.5841 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3566, allocations: 1.938 kB / 0.5841 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000367/0.3569, allocations: 496.2 kB / 0.5846 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.3573, allocations: 352.3 kB / 0.5849 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3573, allocations: 1.75 kB / 0.5849 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3575, allocations: 30.94 kB / 0.585 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3575, allocations: 1.594 kB / 0.585 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3575, allocations: 6.812 kB / 0.585 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3575, allocations: 0.7812 kB / 0.585 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3575, allocations: 0.7188 kB / 0.585 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.3581, allocations: 292.7 kB / 0.5853 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.3582, allocations: 121.5 kB / 0.5854 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3582, allocations: 6.125 kB / 0.5854 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3585, allocations: 19.16 kB / 0.5854 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.3585, allocations: 21.69 kB / 0.5854 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.3586, allocations: 7.141 kB / 0.5854 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3588, allocations: 240.5 kB / 0.5857 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3588, allocations: 0 / 0.5857 GB, free: 32.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.3592, allocations: 116.5 kB / 0.5858 GB, free: 32.02 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.000868/0.36, allocations: 0.9067 MB / 0.5867 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.3605, allocations: 227.3 kB / 0.5869 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3605, allocations: 3.688 kB / 0.5869 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3607, allocations: 73.66 kB / 0.587 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.3616, allocations: 194.4 kB / 0.5871 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.3651, allocations: 3.147 MB / 0.5902 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.3653, allocations: 0.7898 MB / 0.591 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.3656, allocations: 62.62 kB / 0.591 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3657, allocations: 120.6 kB / 0.5912 GB, free: 28.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3657, allocations: 1 kB / 0.5912 GB, free: 28.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.716/4.082, allocations: 9.441 MB / 0.6004 GB, free: 26.44 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/4.082, allocations: 186 kB / 0.6006 GB, free: 26.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/6.514, allocations: 0 / 0.6006 GB, free: 26.19 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/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)