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.00166/0.00166, allocations: 103.5 kB / 16.4 MB, free: 6.477 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.001694/0.001695, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 65.83 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2054, allocations: 76.19 MB / 0.6316 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02572/0.2312, allocations: 14.4 MB / 0.6456 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008265/0.2395, allocations: 3.644 MB / 0.6492 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.2405, allocations: 19.88 kB / 0.6492 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.2416, allocations: 198.7 kB / 0.6494 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.244, allocations: 0.5908 MB / 0.65 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.2456, allocations: 404.4 kB / 0.6504 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.248, allocations: 1.089 MB / 0.6514 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007807/0.2488, allocations: 327.3 kB / 0.6517 GB, free: 88 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.2504, allocations: 394.5 kB / 0.6521 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007471/0.2511, allocations: 302.7 kB / 0.6524 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.2513, allocations: 32 kB / 0.6524 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.2522, allocations: 263.5 kB / 0.6527 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.2524, allocations: 95.67 kB / 0.6528 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.2529, allocations: 219 kB / 0.653 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.2542, allocations: 0.5889 MB / 0.6536 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2543, allocations: 0 / 0.6536 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2543, allocations: 4 kB / 0.6536 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.2543, allocations: 0 / 0.6536 GB, free: 14.21 MB / 0.4981 GB 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.001885/0.2562, allocations: 0.7418 MB / 0.6543 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2563, allocations: 11.97 kB / 0.6543 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.2564, allocations: 58.72 kB / 0.6544 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.2567, allocations: 52.47 kB / 0.6544 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.2579, allocations: 463.6 kB / 0.6548 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.258, allocations: 24.69 kB / 0.6549 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.258, allocations: 31.91 kB / 0.6549 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.259, allocations: 310.2 kB / 0.6552 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.259, allocations: 0 / 0.6552 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.2591, allocations: 8 kB / 0.6552 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.2591, allocations: 12 kB / 0.6552 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.2599, allocations: 194.1 kB / 0.6554 GB, free: 12.21 MB / 0.4981 GB 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.002732/0.2626, allocations: 1.473 MB / 0.6568 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.2633, allocations: 158.5 kB / 0.657 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.2636, allocations: 72.81 kB / 0.6571 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.2638, allocations: 93.28 kB / 0.6572 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.2643, allocations: 129.8 kB / 0.6573 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.2643, allocations: 0 / 0.6573 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.001013/0.2653, allocations: 241 kB / 0.6575 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.2654, allocations: 55.41 kB / 0.6576 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.266, allocations: 349.6 kB / 0.6579 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.2661, allocations: 29.7 kB / 0.6579 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.2663, allocations: 211.8 kB / 0.6581 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.2664, allocations: 59.19 kB / 0.6582 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.2666, allocations: 53.7 kB / 0.6582 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.2668, allocations: 342.8 kB / 0.6586 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2671, allocations: 71.94 kB / 0.6586 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.2675, allocations: 141.9 kB / 0.6588 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.2682, allocations: 253 kB / 0.659 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.2683, allocations: 8 kB / 0.659 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001001/0.2693, allocations: 311.5 kB / 0.6593 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.2693, allocations: 35.27 kB / 0.6593 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2694, allocations: 0 / 0.6593 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.2694, allocations: 7.938 kB / 0.6593 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.2698, allocations: 55.91 kB / 0.6594 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.2698, allocations: 7.938 kB / 0.6594 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.2702, allocations: 31.95 kB / 0.6594 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.2703, allocations: 23.97 kB / 0.6595 GB, free: 7.738 MB / 0.4981 GB 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.0002446/0.2706, allocations: 157.7 kB / 0.6596 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2707, allocations: 35.62 kB / 0.6596 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.2714, allocations: 188.5 kB / 0.6598 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2714, allocations: 7.938 kB / 0.6598 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2714, allocations: 0 / 0.6598 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005784/0.272, allocations: 490.1 kB / 0.6603 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.2725, allocations: 357.3 kB / 0.6606 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2725, allocations: 0 / 0.6606 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.2728, allocations: 31.97 kB / 0.6607 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.2728, allocations: 3.938 kB / 0.6607 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2728, allocations: 11.94 kB / 0.6607 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2728, allocations: 3.938 kB / 0.6607 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2728, allocations: 0 / 0.6607 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.2736, allocations: 284.5 kB / 0.661 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.2738, allocations: 124.8 kB / 0.6611 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.2738, allocations: 0 / 0.6611 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2741, allocations: 19.92 kB / 0.6611 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.2742, allocations: 19.97 kB / 0.6611 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.2742, allocations: 12 kB / 0.6611 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002853/0.2745, allocations: 243.2 kB / 0.6614 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2745, allocations: 0 / 0.6614 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005406/0.2751, allocations: 127.7 kB / 0.6615 GB, free: 5.48 MB / 0.4981 GB 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.001248/0.2763, allocations: 0.903 MB / 0.6624 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005826/0.2769, allocations: 229.7 kB / 0.6626 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2769, allocations: 0 / 0.6626 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.2772, allocations: 72.52 kB / 0.6627 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2783, allocations: 218.8 kB / 0.6629 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.2826, allocations: 3.053 MB / 0.6658 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.283, allocations: 0.7956 MB / 0.6666 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.2833, allocations: 75.17 kB / 0.6667 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.2834, allocations: 115.4 kB / 0.6668 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.2834, allocations: 0 / 0.6668 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.3147, allocations: 10.36 MB / 0.6769 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.304, allocations: 15.39 kB / 0.6769 GB, free: 5.637 MB / 0.5137 GB (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)