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.0006601/0.0006601, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007243/0.0007243, allocations: 175.3 kB / 16.58 MB, free: 6.449 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.162/1.162, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6038/0.6038, allocations: 113.7 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0107/0.1267, allocations: 13.17 MB / 0.5698 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.1308, allocations: 3.397 MB / 0.5731 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.1311, allocations: 15.88 kB / 0.5731 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.1315, allocations: 151.1 kB / 0.5732 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009198/0.1325, allocations: 477.6 kB / 0.5737 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006783/0.1332, allocations: 300.9 kB / 0.574 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1343, allocations: 1.247 MB / 0.5752 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.1346, allocations: 238.8 kB / 0.5754 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.135, allocations: 310.7 kB / 0.5757 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1353, allocations: 290.7 kB / 0.576 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1353, allocations: 12 kB / 0.576 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.1357, allocations: 139.7 kB / 0.5761 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.1357, allocations: 75.66 kB / 0.5762 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.1358, allocations: 97.52 kB / 0.5763 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1362, allocations: 439.1 kB / 0.5767 GB, free: 7.285 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1362, allocations: 0 / 0.5767 GB, free: 7.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1362, allocations: 0 / 0.5767 GB, free: 7.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1363, allocations: 0 / 0.5767 GB, free: 7.285 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.0008289/0.1371, allocations: 0.6794 MB / 0.5774 GB, free: 6.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1371, allocations: 8.031 kB / 0.5774 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.1372, allocations: 62.53 kB / 0.5774 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1373, allocations: 55.44 kB / 0.5775 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.1379, allocations: 466.6 kB / 0.5779 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.138, allocations: 20.56 kB / 0.578 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.138, allocations: 24 kB / 0.578 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.1385, allocations: 318.2 kB / 0.5783 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1385, allocations: 3.938 kB / 0.5783 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.1386, allocations: 15.95 kB / 0.5783 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.1386, allocations: 4 kB / 0.5783 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.139, allocations: 206.1 kB / 0.5785 GB, free: 5.32 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.001442/0.1405, allocations: 1.481 MB / 0.58 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.1408, allocations: 170.2 kB / 0.5801 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.141, allocations: 76.78 kB / 0.5802 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.1411, allocations: 93.08 kB / 0.5803 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1414, allocations: 123.9 kB / 0.5804 GB, free: 3.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1414, allocations: 4 kB / 0.5804 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005226/0.1419, allocations: 255.6 kB / 0.5806 GB, free: 2.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.142, allocations: 55.41 kB / 0.5807 GB, free: 2.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1423, allocations: 337.6 kB / 0.581 GB, free: 2.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1423, allocations: 33.7 kB / 0.5811 GB, free: 2.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1424, allocations: 215.7 kB / 0.5813 GB, free: 2.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1425, allocations: 47.3 kB / 0.5813 GB, free: 2.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.1425, allocations: 8 kB / 0.5813 GB, free: 2.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1426, allocations: 338.8 kB / 0.5816 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1428, allocations: 75.95 kB / 0.5817 GB, free: 1.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.143, allocations: 153.3 kB / 0.5819 GB, free: 1.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1432, allocations: 135.5 kB / 0.582 GB, free: 1.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1432, allocations: 0 / 0.582 GB, free: 1.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005286/0.1437, allocations: 314.8 kB / 0.5823 GB, free: 1.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.1438, allocations: 37.7 kB / 0.5823 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1438, allocations: 4 kB / 0.5823 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1438, allocations: 4 kB / 0.5823 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.144, allocations: 59.89 kB / 0.5824 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.144, allocations: 4 kB / 0.5824 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.1443, allocations: 39.83 kB / 0.5824 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1443, allocations: 19.94 kB / 0.5824 GB, free: 1.027 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.0001356/0.1444, allocations: 157.7 kB / 0.5826 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1445, allocations: 39.58 kB / 0.5826 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.1449, allocations: 204.5 kB / 0.5828 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1449, allocations: 0 / 0.5828 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1449, allocations: 0 / 0.5828 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004185/0.1453, allocations: 497.4 kB / 0.5833 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2175/0.3628, allocations: 349 kB / 0.5836 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3629, allocations: 0.625 kB / 0.5836 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3631, allocations: 32.38 kB / 0.5837 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3631, allocations: 3.438 kB / 0.5837 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3631, allocations: 8 kB / 0.5837 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3631, allocations: 1.969 kB / 0.5837 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3631, allocations: 0.6094 kB / 0.5837 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.3637, allocations: 296.9 kB / 0.584 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3638, allocations: 131.8 kB / 0.5841 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3638, allocations: 9.109 kB / 0.5841 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.364, allocations: 21.61 kB / 0.5841 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.3641, allocations: 18.19 kB / 0.5841 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3641, allocations: 7.391 kB / 0.5841 GB, free: 34.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.3644, allocations: 237.6 kB / 0.5844 GB, free: 34.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.82e-07/0.3644, allocations: 0 / 0.5844 GB, free: 34.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.3648, allocations: 122.7 kB / 0.5845 GB, free: 34.09 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 (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.0008146/0.3656, allocations: 0.9119 MB / 0.5854 GB, free: 33.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.366, allocations: 238.6 kB / 0.5856 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.366, allocations: 0 / 0.5856 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3662, allocations: 82.61 kB / 0.5857 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.3671, allocations: 191.5 kB / 0.5859 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3699, allocations: 2.122 MB / 0.5879 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.3702, allocations: 0.7983 MB / 0.5887 GB, free: 31.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002526/0.3704, allocations: 62.36 kB / 0.5888 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3706, allocations: 115.2 kB / 0.5889 GB, free: 31.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3706, allocations: 0 / 0.5889 GB, free: 31.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3913, allocations: 9.651 MB / 0.5983 GB, free: 30.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001077/0.3914, allocations: 176 kB / 0.5985 GB, free: 29.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.004, allocations: 0 / 0.5985 GB, free: 29.98 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: