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.001469/0.001469, allocations: 105.1 kB / 16.4 MB, free: 6.5 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.001372/0.001372, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6864/0.6864, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 61.31 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1449, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01697/0.1619, allocations: 14.4 MB / 0.6456 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.1673, allocations: 3.644 MB / 0.6492 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.168, allocations: 19.88 kB / 0.6492 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.1688, allocations: 206.7 kB / 0.6494 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.1706, allocations: 0.583 MB / 0.65 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1716, allocations: 408 kB / 0.6504 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1732, allocations: 1.083 MB / 0.6514 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.1738, allocations: 319.3 kB / 0.6517 GB, free: 184 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1749, allocations: 402.9 kB / 0.6521 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.1754, allocations: 302.7 kB / 0.6524 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.1755, allocations: 32 kB / 0.6524 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.1762, allocations: 267.5 kB / 0.6527 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1763, allocations: 91.73 kB / 0.6528 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1766, allocations: 214.9 kB / 0.653 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009949/0.1776, allocations: 0.5889 MB / 0.6536 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1777, allocations: 0 / 0.6536 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1777, allocations: 0 / 0.6536 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.1777, allocations: 0 / 0.6536 GB, free: 14.31 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.001415/0.1791, allocations: 0.7496 MB / 0.6543 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1792, allocations: 8.031 kB / 0.6543 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.167e-05/0.1793, allocations: 66.72 kB / 0.6544 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.1795, allocations: 44.47 kB / 0.6544 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/0.1803, allocations: 463.6 kB / 0.6548 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1804, allocations: 24.69 kB / 0.6549 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.1804, allocations: 31.89 kB / 0.6549 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.1811, allocations: 310.2 kB / 0.6552 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1811, allocations: 0 / 0.6552 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.1812, allocations: 15.98 kB / 0.6552 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1812, allocations: 15.92 kB / 0.6552 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.1817, allocations: 190.1 kB / 0.6554 GB, free: 12.29 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.002048/0.1838, allocations: 1.477 MB / 0.6568 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.1842, allocations: 150.6 kB / 0.657 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1844, allocations: 68.81 kB / 0.6571 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.1845, allocations: 89.3 kB / 0.6571 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.1849, allocations: 131.2 kB / 0.6573 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.1849, allocations: 7.875 kB / 0.6573 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006409/0.1855, allocations: 230.9 kB / 0.6575 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1856, allocations: 63.39 kB / 0.6576 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.186, allocations: 349.6 kB / 0.6579 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.186, allocations: 29.7 kB / 0.6579 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1862, allocations: 215.8 kB / 0.6581 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.1862, allocations: 55.2 kB / 0.6582 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.1863, allocations: 57.69 kB / 0.6582 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1865, allocations: 338.8 kB / 0.6586 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1867, allocations: 71.95 kB / 0.6586 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1869, allocations: 141.9 kB / 0.6588 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.1873, allocations: 257 kB / 0.659 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1874, allocations: 0 / 0.659 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006256/0.188, allocations: 311.6 kB / 0.6593 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.188, allocations: 37.69 kB / 0.6593 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1881, allocations: 4 kB / 0.6593 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.1881, allocations: 11.94 kB / 0.6594 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.1883, allocations: 51.91 kB / 0.6594 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1883, allocations: 4 kB / 0.6594 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1886, allocations: 31.73 kB / 0.6594 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.1886, allocations: 15.94 kB / 0.6594 GB, free: 7.836 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.0001762/0.1888, allocations: 169.7 kB / 0.6596 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.1889, allocations: 35.56 kB / 0.6596 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.1894, allocations: 188.5 kB / 0.6598 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1894, allocations: 7.938 kB / 0.6598 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1894, allocations: 0 / 0.6598 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004652/0.1899, allocations: 479.8 kB / 0.6603 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.1903, allocations: 361.3 kB / 0.6606 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1903, allocations: 0 / 0.6606 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1905, allocations: 31.92 kB / 0.6607 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1905, allocations: 0 / 0.6607 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.1905, allocations: 11.98 kB / 0.6607 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1906, allocations: 3.938 kB / 0.6607 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1906, allocations: 3.938 kB / 0.6607 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.1912, allocations: 282.5 kB / 0.661 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1913, allocations: 128.8 kB / 0.6611 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.1914, allocations: 7.984 kB / 0.6611 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1916, allocations: 23.86 kB / 0.6611 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.1917, allocations: 11.98 kB / 0.6611 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1917, allocations: 11.98 kB / 0.6611 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002587/0.192, allocations: 247.2 kB / 0.6614 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.192, allocations: 4 kB / 0.6614 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004445/0.1925, allocations: 123.7 kB / 0.6615 GB, free: 5.562 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.001156/0.1936, allocations: 0.9076 MB / 0.6624 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.1941, allocations: 229.7 kB / 0.6626 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1942, allocations: 0 / 0.6626 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1943, allocations: 71.89 kB / 0.6627 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.1953, allocations: 216.7 kB / 0.6629 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.2001, allocations: 3.061 MB / 0.6659 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2006, allocations: 0.7879 MB / 0.6666 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002939/0.2009, allocations: 63.25 kB / 0.6667 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.2011, allocations: 131.3 kB / 0.6668 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.2011, allocations: 0 / 0.6668 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.2373, allocations: 10.36 MB / 0.6769 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.153, allocations: 8.516 kB / 0.6769 GB, free: 5.719 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)