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.0007033/0.0007033, allocations: 92.62 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.0007367/0.0007368, allocations: 174.1 kB / 16.58 MB, free: 5.676 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.166/1.166, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6038/0.6038, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 16.22 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.00165/0.1263, allocations: 1.196 MB / 0.5581 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.1273, allocations: 0.5974 MB / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.1274, allocations: 0 / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.1274, allocations: 0 / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.1274, allocations: 7.922 kB / 0.5587 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1278, allocations: 55.88 kB / 0.5587 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.1279, allocations: 31.86 kB / 0.5587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.128, allocations: 11.98 kB / 0.5587 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.128, allocations: 15.94 kB / 0.5588 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.1281, allocations: 15.92 kB / 0.5588 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1281, allocations: 0 / 0.5588 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1283, allocations: 91.89 kB / 0.5589 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1283, allocations: 11.92 kB / 0.5589 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1284, allocations: 29.7 kB / 0.5589 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1285, allocations: 60.14 kB / 0.559 GB, free: 9.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1285, allocations: 0 / 0.559 GB, free: 9.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1285, allocations: 0 / 0.559 GB, free: 9.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1285, allocations: 0 / 0.559 GB, free: 9.527 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.0003828/0.1289, allocations: 359.2 kB / 0.5593 GB, free: 9.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.129, allocations: 12.03 kB / 0.5593 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.129, allocations: 38.48 kB / 0.5594 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.129, allocations: 7.906 kB / 0.5594 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1291, allocations: 163 kB / 0.5595 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1292, allocations: 8 kB / 0.5595 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1292, allocations: 4 kB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1293, allocations: 65.61 kB / 0.5596 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.1293, allocations: 3.938 kB / 0.5596 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1293, allocations: 4 kB / 0.5596 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1294, allocations: 0 / 0.5596 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.1294, allocations: 27.98 kB / 0.5596 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.1298, allocations: 280.7 kB / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.1299, allocations: 34.56 kB / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.1299, allocations: 16.92 kB / 0.5599 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/0.1303, allocations: 0.5622 MB / 0.5605 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1304, allocations: 34.56 kB / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1304, allocations: 0 / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.1306, allocations: 77.52 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1307, allocations: 51.41 kB / 0.5606 GB, free: 7.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.1307, allocations: 119.7 kB / 0.5608 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1308, allocations: 25.83 kB / 0.5608 GB, free: 7.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.1308, allocations: 100.1 kB / 0.5609 GB, free: 7.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1308, allocations: 7.906 kB / 0.5609 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1309, allocations: 0 / 0.5609 GB, free: 7.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.131, allocations: 310.8 kB / 0.5612 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.131, allocations: 15.98 kB / 0.5612 GB, free: 6.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.1311, allocations: 8 kB / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.1311, allocations: 24 kB / 0.5612 GB, free: 6.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1311, allocations: 0 / 0.5612 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.1312, allocations: 61.62 kB / 0.5613 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1313, allocations: 6.5 kB / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1313, allocations: 0 / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1313, allocations: 0 / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.1314, allocations: 7.984 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1314, allocations: 8.031 kB / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.1314, allocations: 0 / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1314, allocations: 4 kB / 0.5613 GB, free: 6.766 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 7.414e-05/0.1315, allocations: 113.8 kB / 0.5614 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1315, allocations: 7.906 kB / 0.5614 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.1317, allocations: 69.19 kB / 0.5615 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1317, allocations: 3.938 kB / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1317, allocations: 3.938 kB / 0.5615 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1317, allocations: 0 / 0.5615 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1319, allocations: 169.6 kB / 0.5617 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1319, allocations: 3.953 kB / 0.5617 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.1319, allocations: 7.984 kB / 0.5617 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1319, allocations: 4 kB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.132, allocations: 0 / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.132, allocations: 0 / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.132, allocations: 4.031 kB / 0.5617 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.1321, allocations: 159.4 kB / 0.5618 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.1322, allocations: 81.06 kB / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1322, allocations: 0 / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.1323, allocations: 8 kB / 0.5619 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1323, allocations: 8.016 kB / 0.5619 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1323, allocations: 0 / 0.5619 GB, free: 6.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.1324, allocations: 103.1 kB / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.213e-06/0.1324, allocations: 0 / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1326, allocations: 11.94 kB / 0.562 GB, free: 5.926 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.0004288/0.133, allocations: 0.7014 MB / 0.5627 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1331, allocations: 23.98 kB / 0.5627 GB, free: 5.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1331, allocations: 0 / 0.5627 GB, free: 5.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.1332, allocations: 15.94 kB / 0.5628 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.1334, allocations: 8.156 kB / 0.5628 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.1341, allocations: 470.7 kB / 0.5632 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1343, allocations: 0.6809 MB / 0.5639 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.512e-05/0.1343, allocations: 7.984 kB / 0.5639 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1344, allocations: 15.44 kB / 0.5639 GB, free: 3.914 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1344, allocations: 0 / 0.5639 GB, free: 3.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0102/0.1446, allocations: 1.263 MB / 0.5651 GB, free: 2.766 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.1448, allocations: 170.5 kB / 0.5653 GB, free: 2.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/1.545, allocations: 0 / 0.5653 GB, free: 2.527 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: