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.6956/0.6956, allocations: 127.3 MB / 139.8 MB, free: 15.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 179.8 kB / 169.7 MB, free: 1.762 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.648/1.648, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.001198/0.001198, allocations: 90.22 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-05/5.473e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2257, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.713/0.9388, allocations: 103.9 MB / 0.7296 GB, free: 9.457 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.9391, allocations: 74.89 kB / 0.7297 GB, free: 9.418 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005517/0.9446, allocations: 1.824 MB / 0.7315 GB, free: 7.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.9447, allocations: 0 / 0.7315 GB, free: 7.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.9447, allocations: 4 kB / 0.7315 GB, free: 7.816 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.0003165/0.945, allocations: 368.8 kB / 0.7318 GB, free: 7.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.945, allocations: 8.031 kB / 0.7318 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.9451, allocations: 12.48 kB / 0.7318 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.9452, allocations: 174.9 kB / 0.732 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.9452, allocations: 3.688 kB / 0.732 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.9452, allocations: 7.375 kB / 0.732 GB, free: 7.184 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.9454, allocations: 47.98 kB / 0.7321 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.9454, allocations: 4 kB / 0.7321 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.9454, allocations: 0 / 0.7321 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.9454, allocations: 4 kB / 0.7321 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.9454, allocations: 19.2 kB / 0.7321 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.9458, allocations: 276.9 kB / 0.7324 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.9459, allocations: 30.14 kB / 0.7324 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.9459, allocations: 8.922 kB / 0.7324 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.9463, allocations: 0.5627 MB / 0.7329 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.9464, allocations: 34.52 kB / 0.733 GB, free: 6.035 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.275e-06/0.9464, allocations: 0 / 0.733 GB, free: 6.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.9465, allocations: 49.42 kB / 0.733 GB, free: 5.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.9466, allocations: 55.44 kB / 0.7331 GB, free: 5.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.9467, allocations: 115.1 kB / 0.7332 GB, free: 5.809 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.9467, allocations: 25.7 kB / 0.7332 GB, free: 5.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.9468, allocations: 84.02 kB / 0.7333 GB, free: 5.695 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.9468, allocations: 15.72 kB / 0.7333 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.9468, allocations: 0 / 0.7333 GB, free: 5.684 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.9469, allocations: 314.8 kB / 0.7336 GB, free: 5.367 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.9469, allocations: 7.812 kB / 0.7336 GB, free: 5.363 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.9469, allocations: 8 kB / 0.7336 GB, free: 5.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.947, allocations: 7.875 kB / 0.7336 GB, free: 5.352 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.947, allocations: 0 / 0.7336 GB, free: 5.352 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.742e-05/0.9471, allocations: 48.69 kB / 0.7337 GB, free: 5.301 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9471, allocations: 4.625 kB / 0.7337 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9471, allocations: 3.953 kB / 0.7337 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.9471, allocations: 0 / 0.7337 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.9472, allocations: 8 kB / 0.7337 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.9472, allocations: 3.984 kB / 0.7337 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.9472, allocations: 12 kB / 0.7337 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.9473, allocations: 0.625 kB / 0.7337 GB, free: 5.27 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.342e-05/0.9473, allocations: 104.9 kB / 0.7338 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.9474, allocations: 4 kB / 0.7338 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.9475, allocations: 55.53 kB / 0.7339 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.9475, allocations: 3.953 kB / 0.7339 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9475, allocations: 0 / 0.7339 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9475, allocations: 3.938 kB / 0.7339 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.9477, allocations: 172.6 kB / 0.734 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9477, allocations: 0 / 0.734 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.9477, allocations: 7.984 kB / 0.734 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9478, allocations: 0 / 0.734 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.9478, allocations: 7.875 kB / 0.7341 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9478, allocations: 0 / 0.7341 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9478, allocations: 3.953 kB / 0.7341 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.9479, allocations: 143.4 kB / 0.7342 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.948, allocations: 81.11 kB / 0.7343 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.948, allocations: 0 / 0.7343 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.948, allocations: 4.859 kB / 0.7343 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.9481, allocations: 15.7 kB / 0.7343 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.9481, allocations: 0 / 0.7343 GB, free: 4.605 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.9481, allocations: 93.08 kB / 0.7344 GB, free: 4.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9482, allocations: 0 / 0.7344 GB, free: 4.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.9484, allocations: 11.98 kB / 0.7344 GB, free: 4.508 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.0001515/0.9485, allocations: 115 kB / 0.7345 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.9486, allocations: 15.81 kB / 0.7345 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9486, allocations: 0 / 0.7345 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.9486, allocations: 7.875 kB / 0.7345 GB, free: 4.371 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.9488, allocations: 0 / 0.7345 GB, free: 4.371 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.949, allocations: 80.17 kB / 0.7346 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.9492, allocations: 0.6889 MB / 0.7353 GB, free: 3.562 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.62e-05/0.9492, allocations: 7.984 kB / 0.7353 GB, free: 3.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.9493, allocations: 11.42 kB / 0.7353 GB, free: 3.543 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.9493, allocations: 0 / 0.7353 GB, free: 3.543 MB / 490.7 MB Notification: Performance of Templates: time 0.002176/0.9515, allocations: 438.2 kB / 0.7357 GB, free: 3.125 MB / 490.7 MB 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)