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.001298/0.001298, allocations: 99.05 kB / 16.02 MB, free: 80 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.00134/0.001339, allocations: 179.2 kB / 16.92 MB, free: 6.918 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.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7179/0.7179, allocations: 115.5 MB / 407.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 496 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 77.52 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.001929/0.1678, allocations: 1.209 MB / 0.5612 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.169, allocations: 0.6437 MB / 0.5618 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.1691, allocations: 0 / 0.5618 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.1692, allocations: 7.938 kB / 0.5619 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.1692, allocations: 3.984 kB / 0.5619 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1696, allocations: 55.83 kB / 0.5619 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.1697, allocations: 39.86 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1698, allocations: 11.98 kB / 0.562 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.1699, allocations: 15.92 kB / 0.562 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.17, allocations: 15.92 kB / 0.562 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.17, allocations: 0 / 0.562 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1702, allocations: 95.84 kB / 0.5621 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.1703, allocations: 15.91 kB / 0.5621 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.1703, allocations: 37.64 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1705, allocations: 91.98 kB / 0.5622 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1705, allocations: 0 / 0.5622 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1705, allocations: 0 / 0.5622 GB, free: 6.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1705, allocations: 0 / 0.5622 GB, free: 6.738 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.0004905/0.171, allocations: 351.4 kB / 0.5626 GB, free: 6.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1711, allocations: 12.03 kB / 0.5626 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.1712, allocations: 34.75 kB / 0.5626 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1712, allocations: 12.84 kB / 0.5626 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1713, allocations: 164.3 kB / 0.5628 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1714, allocations: 4.375 kB / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1714, allocations: 384 / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1715, allocations: 65.78 kB / 0.5628 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1716, allocations: 0 / 0.5628 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1716, allocations: 7.922 kB / 0.5628 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1716, allocations: 0 / 0.5628 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1717, allocations: 35.98 kB / 0.5629 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1721, allocations: 284.7 kB / 0.5631 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.1722, allocations: 30.52 kB / 0.5632 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.1722, allocations: 24.91 kB / 0.5632 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/0.1727, allocations: 0.5544 MB / 0.5637 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1727, allocations: 34.56 kB / 0.5638 GB, free: 4.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1727, allocations: 0 / 0.5638 GB, free: 4.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002438/0.173, allocations: 69.67 kB / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.173, allocations: 51.41 kB / 0.5639 GB, free: 4.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1731, allocations: 132.9 kB / 0.564 GB, free: 4.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1731, allocations: 25.7 kB / 0.564 GB, free: 4.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.1732, allocations: 88.14 kB / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1732, allocations: 7.844 kB / 0.5641 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1732, allocations: 21.59 kB / 0.5642 GB, free: 4.414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1734, allocations: 326.9 kB / 0.5645 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.1734, allocations: 8 kB / 0.5645 GB, free: 4.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.1734, allocations: 15.98 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.1735, allocations: 28.84 kB / 0.5645 GB, free: 4.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1736, allocations: 4.062 kB / 0.5645 GB, free: 4.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.1737, allocations: 57.59 kB / 0.5646 GB, free: 3.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1737, allocations: 8 kB / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1737, allocations: 0 / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1737, allocations: 0 / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.1738, allocations: 11.92 kB / 0.5646 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1738, allocations: 0 / 0.5646 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1739, allocations: 12.03 kB / 0.5646 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1739, allocations: 3.938 kB / 0.5646 GB, free: 3.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.174, allocations: 113.8 kB / 0.5647 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.174, allocations: 0 / 0.5647 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1742, allocations: 69.2 kB / 0.5648 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1742, allocations: 0 / 0.5648 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1742, allocations: 0 / 0.5648 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1742, allocations: 4.031 kB / 0.5648 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1744, allocations: 169.5 kB / 0.5649 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1744, allocations: 0 / 0.5649 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.1745, allocations: 7.984 kB / 0.565 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1745, allocations: 0 / 0.565 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1745, allocations: 4 kB / 0.565 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1745, allocations: 3.938 kB / 0.565 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1745, allocations: 0 / 0.565 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.1747, allocations: 159.5 kB / 0.5651 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.1748, allocations: 85.02 kB / 0.5652 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1748, allocations: 0 / 0.5652 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.1748, allocations: 0 / 0.5652 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1749, allocations: 7.984 kB / 0.5652 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1749, allocations: 0 / 0.5652 GB, free: 3.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.175, allocations: 111.2 kB / 0.5653 GB, free: 3.109 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 0 / 0.5653 GB, free: 3.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1752, allocations: 12 kB / 0.5653 GB, free: 3.098 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 (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.0005213/0.1757, allocations: 0.6929 MB / 0.566 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1759, allocations: 23.98 kB / 0.566 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1759, allocations: 0 / 0.566 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.176, allocations: 16 kB / 0.566 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1762, allocations: 7.875 kB / 0.566 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1777, allocations: 1.333 MB / 0.5673 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.178, allocations: 0.6809 MB / 0.568 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.178, allocations: 4 kB / 0.568 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.1781, allocations: 23.42 kB / 0.568 GB, free: 192 kB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1781, allocations: 0 / 0.568 GB, free: 192 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.1892, allocations: 1.266 MB / 0.5693 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.1894, allocations: 178.2 kB / 0.5694 GB, free: 14.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.025, allocations: 0 / 0.5694 GB, free: 14.78 MB / 446.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/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)