Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_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.006477/0.006476, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.00146/0.00146, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002203/0.002203, allocations: 282.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 95.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1579, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002799/0.1608, allocations: 1.494 MB / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1619, allocations: 0.6481 MB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.162, allocations: 0 / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.1621, allocations: 7.922 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.1622, allocations: 3.938 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1626, allocations: 83.73 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.1627, allocations: 35.91 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1628, allocations: 15.92 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.1629, allocations: 12 kB / 0.7682 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.163, allocations: 23.86 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.163, allocations: 4 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.1632, allocations: 103.8 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.1632, allocations: 7.984 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.1632, allocations: 15.88 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1634, allocations: 91.81 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1634, allocations: 0 / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1634, allocations: 0 / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1635, allocations: 4 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB 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.0004216/0.1639, allocations: 363.2 kB / 0.7687 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1639, allocations: 8.031 kB / 0.7687 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.164, allocations: 42.75 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.164, allocations: 4.844 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1641, allocations: 164.4 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1641, allocations: 384 / 0.769 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1641, allocations: 4.375 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1643, allocations: 61.73 kB / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.1643, allocations: 0 / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1643, allocations: 0 / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1643, allocations: 4 kB / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.672e-05/0.1644, allocations: 27.98 kB / 0.769 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1648, allocations: 280.7 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.1649, allocations: 34.5 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.1649, allocations: 20.91 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/0.1654, allocations: 0.5584 MB / 0.7699 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1655, allocations: 30.56 kB / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1655, allocations: 0 / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002514/0.1657, allocations: 73.52 kB / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1658, allocations: 51.41 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1659, allocations: 125.8 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1659, allocations: 29.83 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.166, allocations: 88.12 kB / 0.7703 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.166, allocations: 7.906 kB / 0.7703 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.166, allocations: 13.72 kB / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1662, allocations: 322.8 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.1662, allocations: 8 kB / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.1662, allocations: 15.98 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.1663, allocations: 28.91 kB / 0.7707 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1663, allocations: 0 / 0.7707 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001124/0.1665, allocations: 61.61 kB / 0.7707 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1665, allocations: 8 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1665, allocations: 3.938 kB / 0.7707 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1665, allocations: 0 / 0.7707 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1666, allocations: 7.984 kB / 0.7707 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1666, allocations: 0 / 0.7707 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.1667, allocations: 11.94 kB / 0.7708 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1667, allocations: 3.938 kB / 0.7708 GB, free: 3.574 MB / 0.5606 GB 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.481e-05/0.1668, allocations: 106.5 kB / 0.7709 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1668, allocations: 4 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.1669, allocations: 61.2 kB / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.167, allocations: 0 / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.167, allocations: 7.875 kB / 0.7709 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.167, allocations: 4 kB / 0.7709 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1671, allocations: 173.6 kB / 0.7711 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1672, allocations: 0 / 0.7711 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.1672, allocations: 8 kB / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1672, allocations: 0 / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1672, allocations: 0 / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1672, allocations: 0 / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1672, allocations: 0 / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.1674, allocations: 163.4 kB / 0.7713 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1674, allocations: 81.05 kB / 0.7713 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1675, allocations: 0 / 0.7713 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.1675, allocations: 4 kB / 0.7713 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1676, allocations: 3.984 kB / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1676, allocations: 0 / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.1676, allocations: 99.2 kB / 0.7714 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.393e-06/0.1676, allocations: 0 / 0.7714 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002221/0.1679, allocations: 19.94 kB / 0.7715 GB, free: 2.754 MB / 0.5606 GB 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.0004436/0.1683, allocations: 0.6929 MB / 0.7721 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1684, allocations: 23.98 kB / 0.7722 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1685, allocations: 0 / 0.7722 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.1685, allocations: 20.02 kB / 0.7722 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.1687, allocations: 7.938 kB / 0.7722 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1699, allocations: 1.299 MB / 0.7735 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2938/0.4637, allocations: 0.6789 MB / 0.7741 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.4638, allocations: 3.391 kB / 0.7741 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.4638, allocations: 12.22 kB / 0.7741 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.4638, allocations: 0.8125 kB / 0.7741 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.4809, allocations: 1.533 MB / 0.7756 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.539, allocations: 6.312 kB / 0.7756 GB, free: 14.11 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)