Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7532/0.7532, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 187.6 kB / 174.2 MB, free: 5.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 408.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.000925, allocations: 97.86 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009959/0.000996, allocations: 50.36 kB / 0.558 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.12, allocations: 75.47 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01041/0.1304, allocations: 14.39 MB / 0.6457 GB, free: 18.63 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.1342, allocations: 3.631 MB / 0.6493 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.1345, allocations: 19.88 kB / 0.6493 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.135, allocations: 167.1 kB / 0.6494 GB, free: 14.81 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009701/0.1361, allocations: 0.5405 MB / 0.65 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.1367, allocations: 302.3 kB / 0.6503 GB, free: 13.97 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1377, allocations: 1.453 MB / 0.6517 GB, free: 12.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.138, allocations: 263.6 kB / 0.6519 GB, free: 12.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.1383, allocations: 318.6 kB / 0.6522 GB, free: 11.94 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1386, allocations: 302.7 kB / 0.6525 GB, free: 11.64 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1386, allocations: 20 kB / 0.6525 GB, free: 11.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.1391, allocations: 243.4 kB / 0.6528 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.1391, allocations: 67.69 kB / 0.6528 GB, free: 11.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.1393, allocations: 195 kB / 0.653 GB, free: 11.13 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.1398, allocations: 0.5688 MB / 0.6536 GB, free: 10.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1398, allocations: 4 kB / 0.6536 GB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1398, allocations: 0 / 0.6536 GB, free: 10.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1398, allocations: 3.938 kB / 0.6536 GB, free: 10.55 MB / 442.7 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.0008999/0.1407, allocations: 0.7185 MB / 0.6543 GB, free: 9.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1408, allocations: 16.03 kB / 0.6543 GB, free: 9.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1409, allocations: 48.38 kB / 0.6544 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.1414, allocations: 435.3 kB / 0.6548 GB, free: 9.246 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1415, allocations: 24.67 kB / 0.6548 GB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1415, allocations: 28 kB / 0.6548 GB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.142, allocations: 302.2 kB / 0.6551 GB, free: 8.879 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.142, allocations: 3.906 kB / 0.6551 GB, free: 8.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.142, allocations: 12 kB / 0.6551 GB, free: 8.863 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.142, allocations: 4 kB / 0.6551 GB, free: 8.859 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1424, allocations: 198.1 kB / 0.6553 GB, free: 8.668 MB / 442.7 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.001299/0.1437, allocations: 1.438 MB / 0.6567 GB, free: 7.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.1441, allocations: 162.6 kB / 0.6569 GB, free: 6.934 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1443, allocations: 60.83 kB / 0.6569 GB, free: 6.871 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.1444, allocations: 93.08 kB / 0.657 GB, free: 6.762 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1447, allocations: 119.3 kB / 0.6571 GB, free: 6.633 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.1447, allocations: 4 kB / 0.6571 GB, free: 6.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005265/0.1452, allocations: 233 kB / 0.6574 GB, free: 6.395 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.1453, allocations: 55.41 kB / 0.6574 GB, free: 6.328 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1455, allocations: 329.6 kB / 0.6577 GB, free: 5.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1455, allocations: 29.7 kB / 0.6578 GB, free: 5.961 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.1456, allocations: 219.7 kB / 0.658 GB, free: 5.742 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1457, allocations: 43.36 kB / 0.658 GB, free: 5.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.1457, allocations: 61.84 kB / 0.6581 GB, free: 5.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.1458, allocations: 342.8 kB / 0.6584 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.146, allocations: 64.19 kB / 0.6585 GB, free: 5.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1462, allocations: 146.5 kB / 0.6586 GB, free: 5.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.1465, allocations: 241.7 kB / 0.6588 GB, free: 4.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1465, allocations: 0 / 0.6588 GB, free: 4.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004696/0.147, allocations: 306.7 kB / 0.6591 GB, free: 4.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.147, allocations: 33.7 kB / 0.6591 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.147, allocations: 7.938 kB / 0.6592 GB, free: 4.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1471, allocations: 7.938 kB / 0.6592 GB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.1473, allocations: 48.28 kB / 0.6592 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1473, allocations: 11.94 kB / 0.6592 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1475, allocations: 35.67 kB / 0.6593 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1475, allocations: 19.98 kB / 0.6593 GB, free: 4.297 MB / 442.7 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 (28): * Single equations (assignments): 27 * 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.0001064/0.1476, allocations: 153.8 kB / 0.6594 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.1477, allocations: 31.62 kB / 0.6595 GB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.1481, allocations: 189.7 kB / 0.6596 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1481, allocations: 7.938 kB / 0.6596 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1481, allocations: 0 / 0.6596 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003433/0.1484, allocations: 491.6 kB / 0.6601 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1487, allocations: 329.5 kB / 0.6604 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1487, allocations: 0 / 0.6604 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.1489, allocations: 31.98 kB / 0.6605 GB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1489, allocations: 4 kB / 0.6605 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1489, allocations: 7.984 kB / 0.6605 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1489, allocations: 3.938 kB / 0.6605 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1489, allocations: 0 / 0.6605 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.1512, allocations: 1.849 MB / 0.6623 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.1513, allocations: 120.8 kB / 0.6624 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1513, allocations: 7.984 kB / 0.6624 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1515, allocations: 15.92 kB / 0.6624 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.1516, allocations: 15.98 kB / 0.6624 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1516, allocations: 8.078 kB / 0.6624 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1518, allocations: 235.1 kB / 0.6627 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1518, allocations: 0 / 0.6627 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000492/0.1523, allocations: 159.9 kB / 0.6628 GB, free: 380 kB / 442.7 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.0002611/0.1525, allocations: 194.9 kB / 0.663 GB, free: 176 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.153, allocations: 223.1 kB / 0.6632 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.153, allocations: 4 kB / 0.6632 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1532, allocations: 68.52 kB / 0.6633 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.1542, allocations: 196 kB / 0.6635 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1557, allocations: 1.009 MB / 0.6645 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1561, allocations: 0.796 MB / 0.6652 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.1564, allocations: 63.17 kB / 0.6653 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.1564, allocations: 31.44 kB / 0.6653 GB, free: 13.72 MB / 458.7 MB Notification: Performance of SimCode: time 4e-07/0.1564, allocations: 0 / 0.6653 GB, free: 13.72 MB / 458.7 MB Notification: Performance of Templates: time 0.0114/0.1679, allocations: 6.751 MB / 0.6719 GB, free: 7.047 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)