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.7695/0.7695, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.0009764/0.0009764, allocations: 181.7 kB / 164.6 MB, free: 11.61 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.492/1.492, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008888/0.0008887, allocations: 94.45 kB / 476.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.059e-05, allocations: 6.125 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 76.77 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.2603, allocations: 103.2 MB / 0.7223 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.2606, allocations: 79.94 kB / 0.7224 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005816/0.2664, allocations: 1.828 MB / 0.7242 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2665, allocations: 0 / 0.7242 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2665, allocations: 0 / 0.7242 GB, free: 1.812 MB / 0.4948 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.0004429/0.2669, allocations: 366.4 kB / 0.7246 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.267, allocations: 8.031 kB / 0.7246 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.267, allocations: 11.86 kB / 0.7246 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2672, allocations: 167 kB / 0.7247 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2672, allocations: 4 kB / 0.7247 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2672, allocations: 3.984 kB / 0.7247 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.644e-05/0.2673, allocations: 19.98 kB / 0.7248 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.2674, allocations: 49.61 kB / 0.7248 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2674, allocations: 4 kB / 0.7248 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2674, allocations: 0 / 0.7248 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2675, allocations: 3.953 kB / 0.7248 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.2679, allocations: 257.3 kB / 0.7251 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.2679, allocations: 22.52 kB / 0.7251 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.268, allocations: 12.92 kB / 0.7251 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.2685, allocations: 0.5583 MB / 0.7256 GB, free: 76 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.2686, allocations: 30.56 kB / 0.7257 GB, free: 36 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2686, allocations: 0 / 0.7257 GB, free: 36 kB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.2688, allocations: 49.64 kB / 0.7257 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2688, allocations: 55.41 kB / 0.7258 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.2689, allocations: 97.03 kB / 0.7259 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.269, allocations: 29.64 kB / 0.7259 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.269, allocations: 92.03 kB / 0.726 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2691, allocations: 11.91 kB / 0.726 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2691, allocations: 0 / 0.726 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2692, allocations: 313 kB / 0.7263 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.2692, allocations: 4 kB / 0.7263 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.2692, allocations: 11.94 kB / 0.7263 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.2693, allocations: 12.05 kB / 0.7263 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2693, allocations: 0 / 0.7263 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.38e-05/0.2694, allocations: 41.7 kB / 0.7264 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2694, allocations: 4 kB / 0.7264 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2694, allocations: 0 / 0.7264 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2695, allocations: 3.984 kB / 0.7264 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.2696, allocations: 11.95 kB / 0.7264 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2696, allocations: 0 / 0.7264 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.2696, allocations: 0 / 0.7264 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2696, allocations: 4.031 kB / 0.7264 GB, free: 15.26 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 () * 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 9.311e-05/0.2697, allocations: 109 kB / 0.7265 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.2698, allocations: 7.891 kB / 0.7265 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.27, allocations: 57.53 kB / 0.7265 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.27, allocations: 0 / 0.7265 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2701, allocations: 7.953 kB / 0.7265 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2701, allocations: 0 / 0.7265 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2702, allocations: 142.2 kB / 0.7267 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2702, allocations: 0 / 0.7267 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.2703, allocations: 12.03 kB / 0.7267 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2703, allocations: 0 / 0.7267 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2703, allocations: 0 / 0.7267 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2703, allocations: 0 / 0.7267 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2703, allocations: 0 / 0.7267 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2705, allocations: 147.5 kB / 0.7268 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.2705, allocations: 81.02 kB / 0.7269 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2705, allocations: 8.016 kB / 0.7269 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.2706, allocations: 4 kB / 0.7269 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.2706, allocations: 3.938 kB / 0.7269 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2706, allocations: 0 / 0.7269 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.2707, allocations: 87.28 kB / 0.727 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2707, allocations: 0 / 0.727 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002384/0.2709, allocations: 15.92 kB / 0.727 GB, free: 14.51 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 () * 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.0001513/0.2711, allocations: 103.2 kB / 0.7271 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.2712, allocations: 16 kB / 0.7271 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2712, allocations: 0 / 0.7271 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.2712, allocations: 7.938 kB / 0.7271 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2714, allocations: 11.95 kB / 0.7272 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.2716, allocations: 67.92 kB / 0.7272 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2718, allocations: 0.6845 MB / 0.7279 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.2718, allocations: 8.609 kB / 0.7279 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.2719, allocations: 15.42 kB / 0.7279 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.2719, allocations: 0 / 0.7279 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.00203/0.2739, allocations: 382 kB / 0.7283 GB, free: 13.17 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)