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.001138/0.001139, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6335/0.6335, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.609/1.609, allocations: 223.1 MB / 354.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008393, allocations: 103.1 kB / 427.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 11.98 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 72.3 MB / 0.5689 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5609/0.7247, allocations: 102.7 MB / 0.6692 GB, free: 1.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.725, allocations: 80.64 kB / 0.6693 GB, free: 1.516 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006721/0.7318, allocations: 2.228 MB / 0.6715 GB, free: 15.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7318, allocations: 0 / 0.6715 GB, free: 15.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.7318, allocations: 4 kB / 0.6715 GB, free: 15.3 MB / 474.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.0003833/0.7322, allocations: 375.7 kB / 0.6718 GB, free: 14.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7322, allocations: 8.031 kB / 0.6719 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.7323, allocations: 38.52 kB / 0.6719 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.7323, allocations: 11.94 kB / 0.6719 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7325, allocations: 171 kB / 0.6721 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.7325, allocations: 3.984 kB / 0.6721 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.7325, allocations: 4 kB / 0.6721 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.7326, allocations: 49.69 kB / 0.6721 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7327, allocations: 0 / 0.6721 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.7327, allocations: 0 / 0.6721 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.7327, allocations: 7.953 kB / 0.6721 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.7328, allocations: 35.97 kB / 0.6722 GB, free: 14.51 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.7332, allocations: 280.7 kB / 0.6724 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.7332, allocations: 34.53 kB / 0.6725 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.7337, allocations: 0.5623 MB / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7337, allocations: 34.38 kB / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 3.246e-06/0.7337, allocations: 0 / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.734, allocations: 73.53 kB / 0.6731 GB, free: 13.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.734, allocations: 67.39 kB / 0.6732 GB, free: 13.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.7341, allocations: 112 kB / 0.6733 GB, free: 13.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.7342, allocations: 29.7 kB / 0.6733 GB, free: 13.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.7342, allocations: 84.14 kB / 0.6734 GB, free: 13.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.7342, allocations: 3.906 kB / 0.6734 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.7342, allocations: 4 kB / 0.6734 GB, free: 13.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7344, allocations: 318.8 kB / 0.6737 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.7344, allocations: 16 kB / 0.6737 GB, free: 12.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.7345, allocations: 11.98 kB / 0.6737 GB, free: 12.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.7345, allocations: 12 kB / 0.6737 GB, free: 12.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7345, allocations: 0 / 0.6737 GB, free: 12.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.7346, allocations: 61.53 kB / 0.6738 GB, free: 12.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7347, allocations: 13.91 kB / 0.6738 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.7347, allocations: 4 kB / 0.6738 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7347, allocations: 0 / 0.6738 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.7348, allocations: 8 kB / 0.6738 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7348, allocations: 0 / 0.6738 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.7348, allocations: 4 kB / 0.6738 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.7348, allocations: 0 / 0.6738 GB, free: 12.56 MB / 474.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 () * 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.817e-05/0.7349, allocations: 109.8 kB / 0.6739 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.735, allocations: 8 kB / 0.6739 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.7351, allocations: 73.09 kB / 0.674 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7351, allocations: 0 / 0.674 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7351, allocations: 0 / 0.674 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7352, allocations: 4 kB / 0.674 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.7353, allocations: 169.5 kB / 0.6742 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7353, allocations: 4 kB / 0.6742 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.7354, allocations: 4 kB / 0.6742 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.7354, allocations: 4.031 kB / 0.6742 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.7354, allocations: 0 / 0.6742 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.7354, allocations: 7.938 kB / 0.6742 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7354, allocations: 0 / 0.6742 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.7356, allocations: 151.5 kB / 0.6743 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.7357, allocations: 84.95 kB / 0.6744 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.7357, allocations: 7.969 kB / 0.6744 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.7357, allocations: 7.984 kB / 0.6744 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.7358, allocations: 3.953 kB / 0.6744 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.7358, allocations: 4 kB / 0.6744 GB, free: 11.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.7359, allocations: 95.27 kB / 0.6745 GB, free: 11.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7359, allocations: 0 / 0.6745 GB, free: 11.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.7361, allocations: 16 kB / 0.6745 GB, free: 11.72 MB / 474.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 () * 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.0004887/0.7366, allocations: 0.6969 MB / 0.6752 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.7367, allocations: 31.92 kB / 0.6753 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7367, allocations: 4.094 kB / 0.6753 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.7368, allocations: 11.98 kB / 0.6753 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.7369, allocations: 11.95 kB / 0.6753 GB, free: 10.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.7377, allocations: 471.7 kB / 0.6757 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.738, allocations: 0.6809 MB / 0.6764 GB, free: 9.719 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.738, allocations: 11.98 kB / 0.6764 GB, free: 9.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.738, allocations: 11.44 kB / 0.6764 GB, free: 9.695 MB / 474.7 MB Notification: Performance of SimCode: time 3.41e-07/0.738, allocations: 7.938 kB / 0.6764 GB, free: 9.688 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.7521, allocations: 1.225 MB / 0.6776 GB, free: 8.566 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.7524, allocations: 162.5 kB / 0.6778 GB, free: 8.328 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.351, allocations: 0 / 0.6778 GB, free: 8.328 MB / 474.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)