Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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: translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 92.78 kB / 15.7 MB, free: 472 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.0008917/0.0008917, allocations: 175.9 kB / 16.58 MB, free: 5.66 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.395/1.395, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6974/0.6974, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003299, allocations: 12.2 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 77.53 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.001888/0.1412, allocations: 1.189 MB / 0.5605 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1423, allocations: 0.5935 MB / 0.5611 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.1424, allocations: 0 / 0.5611 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1424, allocations: 0 / 0.5611 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.1425, allocations: 11.92 kB / 0.5611 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1429, allocations: 63.81 kB / 0.5611 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.143, allocations: 27.92 kB / 0.5612 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.1431, allocations: 15.98 kB / 0.5612 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.1432, allocations: 7.938 kB / 0.5612 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.1433, allocations: 19.91 kB / 0.5612 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1433, allocations: 0 / 0.5612 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1435, allocations: 99.84 kB / 0.5613 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1435, allocations: 11.98 kB / 0.5613 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.1435, allocations: 25.7 kB / 0.5613 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.1436, allocations: 56.2 kB / 0.5614 GB, free: 7.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1436, allocations: 0 / 0.5614 GB, free: 7.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1437, allocations: 0 / 0.5614 GB, free: 7.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1437, allocations: 0 / 0.5614 GB, free: 7.281 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003942/0.1441, allocations: 355.2 kB / 0.5617 GB, free: 6.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1441, allocations: 12.03 kB / 0.5617 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.1442, allocations: 7.906 kB / 0.5618 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1443, allocations: 171 kB / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1443, allocations: 0 / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1443, allocations: 4 kB / 0.5619 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1445, allocations: 57.67 kB / 0.562 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1445, allocations: 3.953 kB / 0.562 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1445, allocations: 3.984 kB / 0.562 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1445, allocations: 0 / 0.562 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1446, allocations: 39.92 kB / 0.562 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.145, allocations: 276.7 kB / 0.5623 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.1451, allocations: 34.56 kB / 0.5623 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.1452, allocations: 20.91 kB / 0.5623 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.1457, allocations: 0.5544 MB / 0.5629 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1458, allocations: 38.56 kB / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.926e-06/0.1458, allocations: 0 / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003082/0.1461, allocations: 81.45 kB / 0.563 GB, free: 5.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1461, allocations: 51.41 kB / 0.563 GB, free: 5.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1462, allocations: 121.8 kB / 0.5632 GB, free: 5.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1463, allocations: 29.7 kB / 0.5632 GB, free: 5.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1463, allocations: 88.14 kB / 0.5633 GB, free: 5.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1464, allocations: 7.844 kB / 0.5633 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.1464, allocations: 0 / 0.5633 GB, free: 5.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1465, allocations: 323 kB / 0.5636 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.1466, allocations: 8 kB / 0.5636 GB, free: 4.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.1466, allocations: 15.98 kB / 0.5636 GB, free: 4.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.1467, allocations: 8 kB / 0.5636 GB, free: 4.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1467, allocations: 3.953 kB / 0.5636 GB, free: 4.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001407/0.1468, allocations: 61.69 kB / 0.5637 GB, free: 4.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1469, allocations: 8 kB / 0.5637 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1469, allocations: 3.984 kB / 0.5637 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1469, allocations: 4 kB / 0.5637 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.147, allocations: 4 kB / 0.5637 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.147, allocations: 0 / 0.5637 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.147, allocations: 4 kB / 0.5637 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1471, allocations: 4 kB / 0.5637 GB, free: 4.566 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.918e-05/0.1472, allocations: 117.9 kB / 0.5638 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.1472, allocations: 11.86 kB / 0.5638 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.1474, allocations: 69.14 kB / 0.5639 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1474, allocations: 0 / 0.5639 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1474, allocations: 0 / 0.5639 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1474, allocations: 0 / 0.5639 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1476, allocations: 173.7 kB / 0.5641 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1476, allocations: 4.031 kB / 0.5641 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.1477, allocations: 7.953 kB / 0.5641 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1477, allocations: 0 / 0.5641 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1477, allocations: 4 kB / 0.5641 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1477, allocations: 0 / 0.5641 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1477, allocations: 3.984 kB / 0.5641 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1479, allocations: 151.5 kB / 0.5642 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.1479, allocations: 81.11 kB / 0.5643 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.148, allocations: 11.89 kB / 0.5643 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.148, allocations: 7.984 kB / 0.5643 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.1481, allocations: 0 / 0.5643 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1481, allocations: 0 / 0.5643 GB, free: 3.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.1481, allocations: 95.27 kB / 0.5644 GB, free: 3.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1481, allocations: 0 / 0.5644 GB, free: 3.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1484, allocations: 16.03 kB / 0.5644 GB, free: 3.727 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000158/0.1486, allocations: 107.2 kB / 0.5645 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1487, allocations: 23.98 kB / 0.5646 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1487, allocations: 0 / 0.5646 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.1488, allocations: 16 kB / 0.5646 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.149, allocations: 7.531 kB / 0.5646 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.1493, allocations: 156.5 kB / 0.5647 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1495, allocations: 0.6848 MB / 0.5654 GB, free: 2.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.1496, allocations: 4 kB / 0.5654 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.1496, allocations: 11.44 kB / 0.5654 GB, free: 2.664 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1496, allocations: 0 / 0.5654 GB, free: 2.664 MB / 430.1 MB Notification: Performance of Templates: time 0.00257/0.1522, allocations: 441.2 kB / 0.5658 GB, free: 2.234 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)