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.001074/0.001074, allocations: 104.6 kB / 16.4 MB, free: 6.469 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.00108/0.00108, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.374/1.374, 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.8139/0.8139, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.06 kB / 0.5685 GB, free: 28.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 77.93 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002488/0.1496, allocations: 1.486 MB / 0.646 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1508, allocations: 0.6525 MB / 0.6467 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.1509, allocations: 0 / 0.6467 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.1509, allocations: 3.938 kB / 0.6467 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.151, allocations: 3.938 kB / 0.6467 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1514, allocations: 83.67 kB / 0.6467 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.1515, allocations: 35.91 kB / 0.6468 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1516, allocations: 19.98 kB / 0.6468 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.1517, allocations: 19.92 kB / 0.6468 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.1517, allocations: 15.92 kB / 0.6468 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1518, allocations: 4 kB / 0.6468 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.152, allocations: 99.89 kB / 0.6469 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.152, allocations: 7.938 kB / 0.6469 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.1521, allocations: 19.86 kB / 0.647 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1523, allocations: 83.72 kB / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1523, allocations: 4 kB / 0.647 GB, free: 6.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1523, allocations: 3.938 kB / 0.647 GB, free: 6.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1523, allocations: 4 kB / 0.647 GB, free: 6.422 MB / 494.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.0004941/0.1528, allocations: 359.2 kB / 0.6474 GB, free: 6.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1528, allocations: 8.625 kB / 0.6474 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1529, allocations: 8.891 kB / 0.6474 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.153, allocations: 176.3 kB / 0.6476 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.153, allocations: 4.375 kB / 0.6476 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.153, allocations: 8.375 kB / 0.6476 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1532, allocations: 61.98 kB / 0.6476 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1532, allocations: 0 / 0.6476 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1532, allocations: 0 / 0.6476 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.1532, allocations: 0 / 0.6476 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.1533, allocations: 35.84 kB / 0.6477 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.1537, allocations: 276.8 kB / 0.6479 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.1538, allocations: 34.56 kB / 0.648 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.1539, allocations: 20.91 kB / 0.648 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/0.1545, allocations: 0.5544 MB / 0.6485 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1545, allocations: 38.5 kB / 0.6486 GB, free: 4.566 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.1545, allocations: 0 / 0.6486 GB, free: 4.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002476/0.1548, allocations: 65.64 kB / 0.6486 GB, free: 4.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1548, allocations: 55.34 kB / 0.6487 GB, free: 4.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1549, allocations: 125.8 kB / 0.6488 GB, free: 4.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1549, allocations: 25.7 kB / 0.6488 GB, free: 4.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.155, allocations: 88.14 kB / 0.6489 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.155, allocations: 3.953 kB / 0.6489 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.155, allocations: 17.7 kB / 0.6489 GB, free: 4.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1552, allocations: 322.9 kB / 0.6492 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.1552, allocations: 11.98 kB / 0.6493 GB, free: 3.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.1553, allocations: 11.94 kB / 0.6493 GB, free: 3.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.1553, allocations: 24.84 kB / 0.6493 GB, free: 3.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1553, allocations: 4 kB / 0.6493 GB, free: 3.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1555, allocations: 53.7 kB / 0.6494 GB, free: 3.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1555, allocations: 12.02 kB / 0.6494 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1555, allocations: 0 / 0.6494 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1555, allocations: 0 / 0.6494 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.1556, allocations: 8 kB / 0.6494 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1556, allocations: 0 / 0.6494 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.1557, allocations: 3.938 kB / 0.6494 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1557, allocations: 0 / 0.6494 GB, free: 3.688 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/0.1559, allocations: 121.8 kB / 0.6495 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1559, allocations: 7.938 kB / 0.6495 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1561, allocations: 65.16 kB / 0.6496 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1562, allocations: 0 / 0.6496 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1562, allocations: 0 / 0.6496 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1562, allocations: 0 / 0.6496 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1564, allocations: 173.5 kB / 0.6497 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1564, allocations: 0 / 0.6497 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.1564, allocations: 4 kB / 0.6497 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1564, allocations: 0 / 0.6497 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1565, allocations: 4 kB / 0.6497 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1565, allocations: 8.016 kB / 0.6497 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1565, allocations: 4 kB / 0.6497 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1567, allocations: 151.4 kB / 0.6499 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.1569, allocations: 85.06 kB / 0.65 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1569, allocations: 0 / 0.65 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.1569, allocations: 3.984 kB / 0.65 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.157, allocations: 8.031 kB / 0.65 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.157, allocations: 0 / 0.65 GB, free: 2.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.024e-05/0.1571, allocations: 99.7 kB / 0.6501 GB, free: 2.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1571, allocations: 0 / 0.6501 GB, free: 2.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1574, allocations: 11.94 kB / 0.6501 GB, free: 2.852 MB / 494.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 (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.0002265/0.1576, allocations: 111.2 kB / 0.6502 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1578, allocations: 23.92 kB / 0.6502 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.1578, allocations: 8.062 kB / 0.6502 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.1579, allocations: 15.94 kB / 0.6502 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1581, allocations: 1.562 kB / 0.6502 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1585, allocations: 134.9 kB / 0.6504 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1589, allocations: 0.6807 MB / 0.651 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.1589, allocations: 4 kB / 0.651 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.159, allocations: 11.5 kB / 0.651 GB, free: 1.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.159, allocations: 0 / 0.651 GB, free: 1.809 MB / 494.1 MB Notification: Performance of Templates: time 0.00318/0.1622, allocations: 496.7 kB / 0.6515 GB, free: 1.324 MB / 494.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)