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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",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.001167/0.001167, allocations: 104.8 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.001334/0.001334, 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.356/1.356, 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.7505/0.7505, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.25 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 77.94 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002864/0.1565, allocations: 1.487 MB / 0.6455 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1577, allocations: 0.6408 MB / 0.6461 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.1578, allocations: 0 / 0.6461 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.1578, allocations: 11.92 kB / 0.6462 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.1579, allocations: 3.938 kB / 0.6462 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1583, allocations: 83.67 kB / 0.6462 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.1584, allocations: 35.92 kB / 0.6463 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.1585, allocations: 15.98 kB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1586, allocations: 19.92 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.1586, allocations: 19.92 kB / 0.6463 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1586, allocations: 4 kB / 0.6463 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.1588, allocations: 95.89 kB / 0.6464 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1589, allocations: 11.92 kB / 0.6464 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1589, allocations: 15.88 kB / 0.6464 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1591, allocations: 87.94 kB / 0.6465 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1591, allocations: 3.984 kB / 0.6465 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1591, allocations: 4 kB / 0.6465 GB, free: 6.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1591, allocations: 0 / 0.6465 GB, free: 6.957 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.0004488/0.1596, allocations: 367.2 kB / 0.6469 GB, free: 6.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1596, allocations: 12.62 kB / 0.6469 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.1597, allocations: 30.75 kB / 0.6469 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1597, allocations: 4.891 kB / 0.6469 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1598, allocations: 176.2 kB / 0.6471 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1599, allocations: 4.375 kB / 0.6471 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1599, allocations: 4.375 kB / 0.6471 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.16, allocations: 57.8 kB / 0.6472 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1601, allocations: 0 / 0.6472 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1601, allocations: 7.938 kB / 0.6472 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1601, allocations: 4 kB / 0.6472 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.556e-05/0.1602, allocations: 27.92 kB / 0.6472 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1606, allocations: 272.8 kB / 0.6475 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.1607, allocations: 30.56 kB / 0.6475 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.1607, allocations: 24.84 kB / 0.6475 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.1612, allocations: 0.5583 MB / 0.6481 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1613, allocations: 30.56 kB / 0.6481 GB, free: 5.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.455e-06/0.1613, allocations: 3.984 kB / 0.6481 GB, free: 5.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002557/0.1615, allocations: 69.62 kB / 0.6482 GB, free: 4.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1616, allocations: 55.53 kB / 0.6482 GB, free: 4.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.1617, allocations: 121.8 kB / 0.6483 GB, free: 4.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1617, allocations: 25.7 kB / 0.6484 GB, free: 4.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.1618, allocations: 92.14 kB / 0.6484 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.1618, allocations: 3.953 kB / 0.6484 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1618, allocations: 9.719 kB / 0.6485 GB, free: 4.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.162, allocations: 326.8 kB / 0.6488 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.162, allocations: 7.938 kB / 0.6488 GB, free: 4.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.1621, allocations: 19.98 kB / 0.6488 GB, free: 4.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.111e-05/0.1621, allocations: 24.84 kB / 0.6488 GB, free: 4.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1622, allocations: 0 / 0.6488 GB, free: 4.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.1623, allocations: 57.64 kB / 0.6489 GB, free: 4.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1623, allocations: 8 kB / 0.6489 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1623, allocations: 0 / 0.6489 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1623, allocations: 0 / 0.6489 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1624, allocations: 12.08 kB / 0.6489 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1624, allocations: 3.984 kB / 0.6489 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.1625, allocations: 11.88 kB / 0.6489 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1625, allocations: 3.938 kB / 0.6489 GB, free: 4.164 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 7.452e-05/0.1626, allocations: 109.8 kB / 0.649 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1626, allocations: 4 kB / 0.649 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.1628, allocations: 65.16 kB / 0.6491 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1628, allocations: 4.031 kB / 0.6491 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1628, allocations: 7.938 kB / 0.6491 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1628, allocations: 0 / 0.6491 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.163, allocations: 165.6 kB / 0.6493 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.163, allocations: 0 / 0.6493 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.163, allocations: 11.92 kB / 0.6493 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.163, allocations: 0 / 0.6493 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.163, allocations: 0 / 0.6493 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1631, allocations: 0 / 0.6493 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1631, allocations: 0 / 0.6493 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1632, allocations: 163.4 kB / 0.6494 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.1633, allocations: 81.06 kB / 0.6495 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1633, allocations: 0 / 0.6495 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.1634, allocations: 4 kB / 0.6495 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.1634, allocations: 3.984 kB / 0.6495 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1634, allocations: 0 / 0.6495 GB, free: 3.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.689e-05/0.1635, allocations: 103.6 kB / 0.6496 GB, free: 3.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1635, allocations: 4.031 kB / 0.6496 GB, free: 3.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1637, allocations: 8 kB / 0.6496 GB, free: 3.34 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.0004733/0.1642, allocations: 0.6968 MB / 0.6503 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.1643, allocations: 28.02 kB / 0.6503 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1643, allocations: 0 / 0.6503 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.1644, allocations: 15.98 kB / 0.6503 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1646, allocations: 1.562 kB / 0.6503 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1659, allocations: 1.305 MB / 0.6516 GB, free: 1.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1661, allocations: 0.6807 MB / 0.6523 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.1662, allocations: 16.05 kB / 0.6523 GB, free: 480 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1662, allocations: 11.44 kB / 0.6523 GB, free: 468 kB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1662, allocations: 0 / 0.6523 GB, free: 468 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.1832, allocations: 1.5 MB / 0.6538 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.616, allocations: 18.23 kB / 0.6538 GB, free: 15.01 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)