Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7773/0.7773, allocations: 140 MB / 156 MB, free: 8.414 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.0009673/0.0009674, allocations: 168.6 kB / 188.5 MB, free: 9.004 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 426.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007958/0.0007958, allocations: 94.36 kB / 0.4945 GB, free: 7.977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001574/0.001574, allocations: 259.2 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 27.98 kB / 0.662 GB, free: 6.707 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.339, allocations: 79.29 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4971, allocations: 108.5 MB / 0.8454 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4974, allocations: 83.94 kB / 0.8455 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005303/0.5027, allocations: 1.818 MB / 0.8473 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5027, allocations: 0 / 0.8473 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5027, allocations: 4 kB / 0.8473 GB, free: 15.73 MB / 0.5261 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.0003432/0.5031, allocations: 367.3 kB / 0.8476 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5031, allocations: 12.03 kB / 0.8476 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.5031, allocations: 4.844 kB / 0.8477 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5033, allocations: 172.4 kB / 0.8478 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.5033, allocations: 4.375 kB / 0.8478 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.5033, allocations: 8.375 kB / 0.8478 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5034, allocations: 54.23 kB / 0.8479 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5035, allocations: 192 / 0.8479 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5035, allocations: 7.938 kB / 0.8479 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5035, allocations: 0 / 0.8479 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.5036, allocations: 39.91 kB / 0.8479 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.5039, allocations: 284.7 kB / 0.8482 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.504, allocations: 26.58 kB / 0.8482 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.5041, allocations: 24.84 kB / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/0.5045, allocations: 0.5583 MB / 0.8488 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.5046, allocations: 30.56 kB / 0.8488 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5046, allocations: 0 / 0.8488 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002467/0.5048, allocations: 77.67 kB / 0.8489 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.5049, allocations: 51.41 kB / 0.8489 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.5049, allocations: 121.8 kB / 0.8491 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.505, allocations: 29.69 kB / 0.8491 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.505, allocations: 88.14 kB / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.505, allocations: 7.906 kB / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.505, allocations: 0 / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5052, allocations: 318.8 kB / 0.8495 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.5052, allocations: 23.95 kB / 0.8495 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.5053, allocations: 4 kB / 0.8495 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.435e-05/0.5053, allocations: 28.84 kB / 0.8495 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5054, allocations: 4 kB / 0.8495 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.5055, allocations: 69.64 kB / 0.8496 GB, free: 13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5055, allocations: 4 kB / 0.8496 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5055, allocations: 0 / 0.8496 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5055, allocations: 0 / 0.8496 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.5056, allocations: 8 kB / 0.8496 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5056, allocations: 0 / 0.8496 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.5057, allocations: 11.92 kB / 0.8496 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.5057, allocations: 0 / 0.8496 GB, free: 12.97 MB / 0.5261 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 6.638e-05/0.5058, allocations: 113.8 kB / 0.8497 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.5058, allocations: 4 kB / 0.8497 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.5059, allocations: 69.14 kB / 0.8498 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.506, allocations: 0 / 0.8498 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.506, allocations: 0 / 0.8498 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.506, allocations: 0 / 0.8498 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5061, allocations: 173.7 kB / 0.85 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5062, allocations: 4.031 kB / 0.85 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.5062, allocations: 11.98 kB / 0.85 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5062, allocations: 0 / 0.85 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.5062, allocations: 0 / 0.85 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5062, allocations: 0 / 0.85 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5062, allocations: 0 / 0.85 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.5064, allocations: 167.3 kB / 0.8502 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.5065, allocations: 85 kB / 0.8502 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.5065, allocations: 0 / 0.8502 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.5065, allocations: 7.938 kB / 0.8502 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.5066, allocations: 0 / 0.8502 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.5066, allocations: 4 kB / 0.8502 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.5066, allocations: 91.27 kB / 0.8503 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5067, allocations: 0 / 0.8503 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000216/0.5069, allocations: 15.94 kB / 0.8503 GB, free: 12.14 MB / 0.5261 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.000165/0.507, allocations: 119.2 kB / 0.8505 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.5072, allocations: 31.86 kB / 0.8505 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5072, allocations: 0 / 0.8505 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.5073, allocations: 15.98 kB / 0.8505 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.5075, allocations: 4.125 kB / 0.8505 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.5078, allocations: 140.6 kB / 0.8506 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.508, allocations: 0.6809 MB / 0.8513 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.5081, allocations: 7.984 kB / 0.8513 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.5081, allocations: 7.438 kB / 0.8513 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.5081, allocations: 4 kB / 0.8513 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.002237/0.5103, allocations: 440.7 kB / 0.8517 GB, free: 10.65 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)