Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8299/0.8299, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 181.5 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009314/0.0009312, allocations: 90.92 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 9.25 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 76.78 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.3235, allocations: 104 MB / 0.7369 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.3239, allocations: 75.95 kB / 0.7369 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005954/0.3299, allocations: 1.859 MB / 0.7388 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3299, allocations: 0 / 0.7388 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3299, allocations: 0 / 0.7388 GB, free: 4.473 MB / 0.5105 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.0003949/0.3303, allocations: 369.8 kB / 0.7391 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3304, allocations: 8.031 kB / 0.7391 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3304, allocations: 15.86 kB / 0.7391 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3306, allocations: 167 kB / 0.7393 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3306, allocations: 8 kB / 0.7393 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3306, allocations: 0 / 0.7393 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3308, allocations: 57.62 kB / 0.7394 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3308, allocations: 0 / 0.7394 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3308, allocations: 0 / 0.7394 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3308, allocations: 0 / 0.7394 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3309, allocations: 35.94 kB / 0.7394 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3313, allocations: 276.8 kB / 0.7397 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.3314, allocations: 34.52 kB / 0.7397 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.3319, allocations: 0.5622 MB / 0.7402 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.332, allocations: 38.5 kB / 0.7403 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.332, allocations: 0 / 0.7403 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.3322, allocations: 65.59 kB / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3323, allocations: 67.47 kB / 0.7404 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.3324, allocations: 112.9 kB / 0.7405 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3324, allocations: 25.7 kB / 0.7405 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.3325, allocations: 92.14 kB / 0.7406 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.3325, allocations: 7.969 kB / 0.7406 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.3325, allocations: 0 / 0.7406 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3326, allocations: 314.8 kB / 0.7409 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.3327, allocations: 16 kB / 0.7409 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.3327, allocations: 11.98 kB / 0.741 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.3328, allocations: 14.12 kB / 0.741 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3328, allocations: 0 / 0.741 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001315/0.3329, allocations: 61.62 kB / 0.741 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3329, allocations: 4.094 kB / 0.741 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3329, allocations: 7.984 kB / 0.741 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.333, allocations: 7.938 kB / 0.741 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.333, allocations: 7.938 kB / 0.7411 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.333, allocations: 4 kB / 0.7411 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.3331, allocations: 3.938 kB / 0.7411 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3331, allocations: 4 kB / 0.7411 GB, free: 1.773 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.3332, allocations: 113.8 kB / 0.7412 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3332, allocations: 7.906 kB / 0.7412 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3334, allocations: 69.2 kB / 0.7412 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3334, allocations: 3.953 kB / 0.7413 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3334, allocations: 0 / 0.7413 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3334, allocations: 0 / 0.7413 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3336, allocations: 161.7 kB / 0.7414 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3336, allocations: 0 / 0.7414 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.3337, allocations: 8 kB / 0.7414 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3337, allocations: 4.031 kB / 0.7414 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3337, allocations: 3.938 kB / 0.7414 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3337, allocations: 7.938 kB / 0.7414 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3337, allocations: 3.953 kB / 0.7414 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3339, allocations: 159.4 kB / 0.7416 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.334, allocations: 81.14 kB / 0.7417 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.334, allocations: 0 / 0.7417 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.3341, allocations: 7.984 kB / 0.7417 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3341, allocations: 0 / 0.7417 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3341, allocations: 3.953 kB / 0.7417 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.3342, allocations: 99.27 kB / 0.7418 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3342, allocations: 0 / 0.7418 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002107/0.3344, allocations: 8 kB / 0.7418 GB, free: 0.9414 MB / 0.5105 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 (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.0001732/0.3346, allocations: 115 kB / 0.7419 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.3347, allocations: 35.91 kB / 0.7419 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3347, allocations: 0 / 0.7419 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.3348, allocations: 12 kB / 0.7419 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3349, allocations: 4 kB / 0.7419 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3353, allocations: 148.7 kB / 0.7421 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2921/0.6273, allocations: 0.6807 MB / 0.7427 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.6274, allocations: 1.406 kB / 0.7427 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.6275, allocations: 11.5 kB / 0.7428 GB, free: 109 MB / 0.5105 GB Notification: Performance of SimCode: time 1.794e-06/0.6275, allocations: 0 / 0.7428 GB, free: 109 MB / 0.5105 GB Notification: Performance of Templates: time 0.002454/0.63, allocations: 438.6 kB / 0.7432 GB, free: 108.9 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)