Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7637/0.7637, allocations: 140.1 MB / 156 MB, free: 5.148 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.001002/0.001001, allocations: 180.2 kB / 188.5 MB, free: 15.81 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.331/1.331, allocations: 205.4 MB / 426.3 MB, free: 8.379 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.0007482/0.0007483, allocations: 94.23 kB / 0.4945 GB, free: 8.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001714/0.001715, allocations: 270.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.00045, allocations: 24 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3478, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.4792, allocations: 107.3 MB / 0.8443 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.4796, allocations: 79.94 kB / 0.8444 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003416/0.4831, allocations: 1.217 MB / 0.8456 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4831, allocations: 0 / 0.8456 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4831, allocations: 0 / 0.8456 GB, free: 1.582 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003482/0.4834, allocations: 331.5 kB / 0.8459 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.4835, allocations: 19.97 kB / 0.8459 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.4835, allocations: 0.9375 kB / 0.8459 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.4836, allocations: 160.4 kB / 0.846 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4837, allocations: 4.312 kB / 0.846 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.4837, allocations: 384 / 0.846 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.4838, allocations: 30.27 kB / 0.8461 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4838, allocations: 192 / 0.8461 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4838, allocations: 3.938 kB / 0.8461 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4838, allocations: 0 / 0.8461 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.4839, allocations: 11.97 kB / 0.8461 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.484, allocations: 153.7 kB / 0.8462 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.4841, allocations: 18.52 kB / 0.8463 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.4841, allocations: 8.953 kB / 0.8463 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.4846, allocations: 0.5583 MB / 0.8468 GB, free: 12 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4846, allocations: 38.55 kB / 0.8468 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4846, allocations: 0 / 0.8468 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.4848, allocations: 33.64 kB / 0.8469 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.4848, allocations: 51.41 kB / 0.8469 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.235e-05/0.4848, allocations: 89.86 kB / 0.847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4849, allocations: 25.7 kB / 0.847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.4849, allocations: 88.14 kB / 0.8471 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4849, allocations: 0 / 0.8471 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.4849, allocations: 128 / 0.8471 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4851, allocations: 318.8 kB / 0.8474 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.4851, allocations: 3.938 kB / 0.8474 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.4851, allocations: 0 / 0.8474 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.4851, allocations: 12.84 kB / 0.8474 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4851, allocations: 0 / 0.8474 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.79e-05/0.4852, allocations: 33.7 kB / 0.8475 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4852, allocations: 4 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4852, allocations: 4.094 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4852, allocations: 3.938 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.4853, allocations: 8 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4853, allocations: 0 / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.4853, allocations: 3.906 kB / 0.8475 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.4853, allocations: 3.938 kB / 0.8475 GB, free: 15.24 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 (1): * Single equations (assignments): 1 * 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.08e-05/0.4854, allocations: 109.8 kB / 0.8476 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-06/0.4854, allocations: 0 / 0.8476 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.4855, allocations: 44.77 kB / 0.8476 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4855, allocations: 0 / 0.8476 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4855, allocations: 0 / 0.8476 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4855, allocations: 0 / 0.8476 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.4856, allocations: 153.6 kB / 0.8478 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4856, allocations: 4 kB / 0.8478 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.4857, allocations: 0 / 0.8478 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4857, allocations: 0 / 0.8478 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4857, allocations: 3.938 kB / 0.8478 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4857, allocations: 0 / 0.8478 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4857, allocations: 4.031 kB / 0.8478 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.372e-05/0.4858, allocations: 65.06 kB / 0.8479 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.4858, allocations: 77.11 kB / 0.8479 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4858, allocations: 3.938 kB / 0.8479 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.4859, allocations: 0 / 0.8479 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.4859, allocations: 4 kB / 0.8479 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4859, allocations: 0 / 0.8479 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.4859, allocations: 81.47 kB / 0.848 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4859, allocations: 0 / 0.848 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001944/0.4861, allocations: 11.94 kB / 0.848 GB, free: 14.59 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 (1): * Single equations (assignments): 1 * 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.0001729/0.4863, allocations: 111.2 kB / 0.8481 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.4864, allocations: 4 kB / 0.8481 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4864, allocations: 0 / 0.8481 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.4864, allocations: 7.938 kB / 0.8482 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.4865, allocations: 128 / 0.8482 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.4867, allocations: 79.73 kB / 0.8482 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.487, allocations: 0.6731 MB / 0.8489 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.487, allocations: 0 / 0.8489 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.487, allocations: 7.438 kB / 0.8489 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-07/0.487, allocations: 0 / 0.8489 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.002157/0.4892, allocations: 284 kB / 0.8492 GB, free: 13.38 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)