Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 116.5 kB / 17.08 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 195 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.743/0.743, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 64.17 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.00265/0.1483, allocations: 1.494 MB / 0.6342 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1494, allocations: 0.6397 MB / 0.6348 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.1494, allocations: 7.938 kB / 0.6348 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.1495, allocations: 3.938 kB / 0.6348 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.1495, allocations: 3.938 kB / 0.6348 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1499, allocations: 83.67 kB / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.748e-05/0.15, allocations: 39.84 kB / 0.635 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.1501, allocations: 15.98 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.1502, allocations: 11.94 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.1502, allocations: 19.92 kB / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1502, allocations: 0 / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1504, allocations: 107.9 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1505, allocations: 7.938 kB / 0.6351 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1505, allocations: 15.94 kB / 0.6351 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1507, allocations: 95.69 kB / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1507, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1507, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1507, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.1 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.0004464/0.1511, allocations: 363.3 kB / 0.6356 GB, free: 1.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1512, allocations: 8.031 kB / 0.6356 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1512, allocations: 4.938 kB / 0.6356 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1514, allocations: 172.2 kB / 0.6357 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1514, allocations: 4.375 kB / 0.6357 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1514, allocations: 4.375 kB / 0.6357 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1515, allocations: 53.98 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1516, allocations: 4 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1516, allocations: 4 kB / 0.6358 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1516, allocations: 0 / 0.6358 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.1517, allocations: 23.98 kB / 0.6358 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.1521, allocations: 284.6 kB / 0.6361 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.1522, allocations: 38.55 kB / 0.6361 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1522, allocations: 16.91 kB / 0.6362 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.1527, allocations: 0.5545 MB / 0.6367 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1528, allocations: 38.5 kB / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1528, allocations: 0 / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002383/0.153, allocations: 69.61 kB / 0.6368 GB, free: 15.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1531, allocations: 51.41 kB / 0.6368 GB, free: 15.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1532, allocations: 125.8 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1532, allocations: 25.7 kB / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.1532, allocations: 92.25 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1533, allocations: 11.91 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1533, allocations: 13.72 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1534, allocations: 318.8 kB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.1535, allocations: 8 kB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.1535, allocations: 11.98 kB / 0.6374 GB, free: 15.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.1536, allocations: 28.84 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1536, allocations: 4.062 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001203/0.1537, allocations: 69.47 kB / 0.6375 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1538, allocations: 4 kB / 0.6375 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1538, allocations: 0 / 0.6375 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1538, allocations: 0 / 0.6375 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.1539, allocations: 7.984 kB / 0.6375 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1539, allocations: 0 / 0.6375 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1539, allocations: 4 kB / 0.6375 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1539, allocations: 0 / 0.6375 GB, free: 15.09 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.154, allocations: 118.5 kB / 0.6376 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1541, allocations: 7.906 kB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.1542, allocations: 61.14 kB / 0.6377 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1542, allocations: 4 kB / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1543, allocations: 0 / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1543, allocations: 0 / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1545, allocations: 173.6 kB / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1545, allocations: 0 / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.1545, allocations: 8.031 kB / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1545, allocations: 0 / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1545, allocations: 0 / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1545, allocations: 3.938 kB / 0.6379 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1546, allocations: 0 / 0.6379 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.1547, allocations: 155.5 kB / 0.638 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1548, allocations: 84.95 kB / 0.6381 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1548, allocations: 8.031 kB / 0.6381 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.1549, allocations: 0 / 0.6381 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1549, allocations: 3.984 kB / 0.6381 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1549, allocations: 4 kB / 0.6381 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.155, allocations: 95.27 kB / 0.6382 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.155, allocations: 0 / 0.6382 GB, free: 14.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1552, allocations: 19.94 kB / 0.6383 GB, free: 14.25 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.1554, allocations: 95.25 kB / 0.6383 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1556, allocations: 27.98 kB / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1556, allocations: 0 / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.1556, allocations: 11.98 kB / 0.6384 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1558, allocations: 11.72 kB / 0.6384 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.1562, allocations: 152.3 kB / 0.6385 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1564, allocations: 0.6886 MB / 0.6392 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.1565, allocations: 11.44 kB / 0.6392 GB, free: 13.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1565, allocations: 0 / 0.6392 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Templates: time 0.002247/0.1587, allocations: 0.7322 MB / 0.6399 GB, free: 12.46 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)