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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000962/0.0009621, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4892/0.4892, allocations: 90.8 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008233/0.0008233, allocations: 98.84 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.048e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3514, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4705, allocations: 102.7 MB / 0.6606 GB, free: 1.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4707, allocations: 75.95 kB / 0.6606 GB, free: 1.586 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006322/0.4771, allocations: 2.208 MB / 0.6628 GB, free: 15.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4771, allocations: 0 / 0.6628 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4771, allocations: 7.938 kB / 0.6628 GB, free: 15.38 MB / 490.7 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.0003338/0.4775, allocations: 370.3 kB / 0.6631 GB, free: 14.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4775, allocations: 15.98 kB / 0.6632 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.4776, allocations: 43.25 kB / 0.6632 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.4776, allocations: 4 kB / 0.6632 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4777, allocations: 167 kB / 0.6634 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.4777, allocations: 4 kB / 0.6634 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.4778, allocations: 4 kB / 0.6634 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.4779, allocations: 49.62 kB / 0.6634 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4779, allocations: 0 / 0.6634 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4779, allocations: 4 kB / 0.6634 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.4779, allocations: 6.484 kB / 0.6634 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.478, allocations: 16 kB / 0.6634 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.4783, allocations: 284.7 kB / 0.6637 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.4784, allocations: 38.45 kB / 0.6638 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.4784, allocations: 12.92 kB / 0.6638 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.4788, allocations: 0.5544 MB / 0.6643 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4789, allocations: 30.56 kB / 0.6643 GB, free: 13.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.4789, allocations: 4 kB / 0.6643 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.479, allocations: 37.7 kB / 0.6644 GB, free: 13.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.4791, allocations: 59.33 kB / 0.6644 GB, free: 13.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.4792, allocations: 112.9 kB / 0.6645 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4792, allocations: 25.7 kB / 0.6646 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.4792, allocations: 96.16 kB / 0.6647 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.4793, allocations: 7.906 kB / 0.6647 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.4793, allocations: 0 / 0.6647 GB, free: 13.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.4794, allocations: 314.8 kB / 0.665 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.4794, allocations: 4 kB / 0.665 GB, free: 12.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.4794, allocations: 4 kB / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.19e-05/0.4794, allocations: 8 kB / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4794, allocations: 3.984 kB / 0.665 GB, free: 12.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.858e-05/0.4795, allocations: 57.56 kB / 0.665 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4796, allocations: 8 kB / 0.665 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4796, allocations: 0 / 0.665 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4796, allocations: 0 / 0.665 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.4797, allocations: 7.984 kB / 0.6651 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4797, allocations: 3.938 kB / 0.6651 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.436e-05/0.4797, allocations: 4 kB / 0.6651 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.4797, allocations: 0.8438 kB / 0.6651 GB, free: 12.71 MB / 490.7 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 () * 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 6.109e-05/0.4798, allocations: 109 kB / 0.6652 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4798, allocations: 7.859 kB / 0.6652 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.4799, allocations: 53.34 kB / 0.6652 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4799, allocations: 3.984 kB / 0.6652 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.48, allocations: 4 kB / 0.6652 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.48, allocations: 0 / 0.6652 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.4801, allocations: 161.7 kB / 0.6654 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4801, allocations: 0 / 0.6654 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.4802, allocations: 6.156 kB / 0.6654 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4802, allocations: 4.031 kB / 0.6654 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4802, allocations: 11.95 kB / 0.6654 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4802, allocations: 0 / 0.6654 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4802, allocations: 3.938 kB / 0.6654 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.4803, allocations: 139.5 kB / 0.6655 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.4804, allocations: 81.02 kB / 0.6656 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4804, allocations: 3.984 kB / 0.6656 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.4805, allocations: 11.98 kB / 0.6656 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.4805, allocations: 0 / 0.6656 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.4805, allocations: 4 kB / 0.6656 GB, free: 12.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.4806, allocations: 97.56 kB / 0.6657 GB, free: 11.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4806, allocations: 4 kB / 0.6657 GB, free: 11.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.4808, allocations: 11.94 kB / 0.6658 GB, free: 11.91 MB / 490.7 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 () * 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.0003989/0.4812, allocations: 0.685 MB / 0.6664 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.168e-05/0.4813, allocations: 16 kB / 0.6664 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4813, allocations: 0 / 0.6664 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.4813, allocations: 11.94 kB / 0.6664 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.4814, allocations: 8.719 kB / 0.6665 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.4818, allocations: 110.5 kB / 0.6666 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.482, allocations: 0.6889 MB / 0.6672 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.079e-05/0.482, allocations: 12.52 kB / 0.6672 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.4821, allocations: 15.44 kB / 0.6673 GB, free: 10.27 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4821, allocations: 4 kB / 0.6673 GB, free: 10.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.4932, allocations: 1.226 MB / 0.6685 GB, free: 9.184 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.4934, allocations: 131.4 kB / 0.6686 GB, free: 8.965 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.379/1.872, allocations: 4 kB / 0.6686 GB, free: 8.961 MB / 490.7 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)