Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.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.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7169/0.7169, 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.0013/0.0013, allocations: 188.2 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.376/1.376, allocations: 205 MB / 408.9 MB, free: 9.691 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.0009305/0.0009304, allocations: 102.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 57.52 kB / 0.558 GB, free: 97.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1329, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation): time 0.009605/0.1425, allocations: 13.15 MB / 0.6445 GB, free: 19.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1439, allocations: 1.595 MB / 0.6461 GB, free: 18.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1441, allocations: 7.938 kB / 0.6461 GB, free: 18.22 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1445, allocations: 155.2 kB / 0.6462 GB, free: 18.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1449, allocations: 306.5 kB / 0.6465 GB, free: 17.77 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1452, allocations: 170.8 kB / 0.6467 GB, free: 17.6 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.1459, allocations: 1.129 MB / 0.6478 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.146, allocations: 80.67 kB / 0.6479 GB, free: 16.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.1464, allocations: 318.7 kB / 0.6482 GB, free: 16.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1466, allocations: 243 kB / 0.6484 GB, free: 15.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1466, allocations: 12 kB / 0.6484 GB, free: 15.83 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.1467, allocations: 31.98 kB / 0.6484 GB, free: 15.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.1468, allocations: 63.73 kB / 0.6485 GB, free: 15.74 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.147, allocations: 151.3 kB / 0.6486 GB, free: 15.59 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1472, allocations: 359 kB / 0.649 GB, free: 15.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1472, allocations: 0 / 0.649 GB, free: 15.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1472, allocations: 0 / 0.649 GB, free: 15.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1472, allocations: 0 / 0.649 GB, free: 15.24 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005794/0.1478, allocations: 0.5603 MB / 0.6495 GB, free: 14.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1479, allocations: 8.031 kB / 0.6495 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.1481, allocations: 48.64 kB / 0.6496 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1483, allocations: 267.8 kB / 0.6498 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1484, allocations: 16.94 kB / 0.6499 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1484, allocations: 28.31 kB / 0.6499 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.1487, allocations: 304.1 kB / 0.6502 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1488, allocations: 0 / 0.6502 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1488, allocations: 12 kB / 0.6502 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.1488, allocations: 11.94 kB / 0.6502 GB, free: 13.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.149, allocations: 169.5 kB / 0.6504 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1502, allocations: 1.856 MB / 0.6522 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1503, allocations: 114.5 kB / 0.6523 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.1504, allocations: 48.94 kB / 0.6523 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1505, allocations: 7.984 kB / 0.6523 GB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1505, allocations: 34.56 kB / 0.6524 GB, free: 11.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1505, allocations: 4 kB / 0.6524 GB, free: 11.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000984/0.1515, allocations: 0.6347 MB / 0.653 GB, free: 10.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1515, allocations: 55.34 kB / 0.653 GB, free: 10.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.1517, allocations: 278.6 kB / 0.6533 GB, free: 10.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1518, allocations: 33.7 kB / 0.6533 GB, free: 10.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1519, allocations: 199.5 kB / 0.6535 GB, free: 10.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1519, allocations: 55.25 kB / 0.6536 GB, free: 10.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.152, allocations: 57.61 kB / 0.6536 GB, free: 10.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.1521, allocations: 334.8 kB / 0.654 GB, free: 9.734 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.1521, allocations: 55.97 kB / 0.654 GB, free: 9.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1523, allocations: 164.7 kB / 0.6542 GB, free: 9.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1525, allocations: 231.1 kB / 0.6544 GB, free: 9.203 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1525, allocations: 4 kB / 0.6544 GB, free: 9.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003299/0.1528, allocations: 290 kB / 0.6547 GB, free: 8.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1528, allocations: 8 kB / 0.6547 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1529, allocations: 3.938 kB / 0.6547 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.319e-05/0.1529, allocations: 20.86 kB / 0.6547 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1532, allocations: 67.91 kB / 0.6548 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006785/0.1539, allocations: 1.288 MB / 0.656 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.154, allocations: 23.78 kB / 0.656 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1541, allocations: 19.98 kB / 0.6561 GB, free: 7.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1542, allocations: 153.9 kB / 0.6562 GB, free: 7.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1542, allocations: 23.72 kB / 0.6562 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1543, allocations: 30.17 kB / 0.6563 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1543, allocations: 0 / 0.6563 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1543, allocations: 0 / 0.6563 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002039/0.1545, allocations: 461.9 kB / 0.6567 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1551, allocations: 0.5766 MB / 0.6573 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1551, allocations: 0 / 0.6573 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.1552, allocations: 35.92 kB / 0.6573 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1552, allocations: 0 / 0.6573 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1553, allocations: 8 kB / 0.6573 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1553, allocations: 8 kB / 0.6573 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1553, allocations: 8.078 kB / 0.6573 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.1565, allocations: 1.59 MB / 0.6589 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.1566, allocations: 104.7 kB / 0.659 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1566, allocations: 4 kB / 0.659 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1568, allocations: 16.05 kB / 0.659 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.1568, allocations: 15.98 kB / 0.659 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1568, allocations: 4 kB / 0.659 GB, free: 3.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.157, allocations: 201.9 kB / 0.6592 GB, free: 3.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.157, allocations: 0 / 0.6592 GB, free: 3.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.1574, allocations: 100 kB / 0.6593 GB, free: 3.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.941e-05/0.1575, allocations: 111.1 kB / 0.6594 GB, free: 3.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.1578, allocations: 262.4 kB / 0.6597 GB, free: 3.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1578, allocations: 4 kB / 0.6597 GB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.1579, allocations: 57.03 kB / 0.6597 GB, free: 3.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.1588, allocations: 141 kB / 0.6598 GB, free: 3.102 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.1596, allocations: 0.8485 MB / 0.6607 GB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.1598, allocations: 0.7524 MB / 0.6614 GB, free: 1.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.16, allocations: 54.95 kB / 0.6615 GB, free: 1.379 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.1601, allocations: 23.44 kB / 0.6615 GB, free: 1.355 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1601, allocations: 0 / 0.6615 GB, free: 1.355 MB / 442.7 MB Notification: Performance of Templates: time 0.008093/0.1682, allocations: 4.792 MB / 0.6662 GB, free: 12.61 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)