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.001158/0.001159, allocations: 110 kB / 16.41 MB, free: 6.484 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.001151/0.001152, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.303/1.303, allocations: 222.9 MB / 241 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.7266/0.7266, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 70.22 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002424/0.1468, allocations: 1.485 MB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1478, allocations: 0.6436 MB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.1479, allocations: 3.938 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.1479, allocations: 3.938 kB / 0.6342 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.148, allocations: 7.938 kB / 0.6342 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1483, allocations: 79.72 kB / 0.6343 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.1484, allocations: 39.84 kB / 0.6343 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.1485, allocations: 15.98 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.1486, allocations: 19.92 kB / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.1486, allocations: 19.91 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1486, allocations: 7.938 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.1488, allocations: 95.91 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.1489, allocations: 11.94 kB / 0.6345 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1489, allocations: 23.91 kB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1491, allocations: 87.72 kB / 0.6346 GB, free: 1.855 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1491, allocations: 0 / 0.6346 GB, free: 1.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1491, allocations: 4 kB / 0.6346 GB, free: 1.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1491, allocations: 0 / 0.6346 GB, free: 1.852 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.0004746/0.1496, allocations: 355.3 kB / 0.6349 GB, free: 1.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1496, allocations: 12.03 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.1497, allocations: 0.9375 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1498, allocations: 176.2 kB / 0.6351 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1498, allocations: 4.375 kB / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1498, allocations: 4.375 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.15, allocations: 61.98 kB / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.15, allocations: 0 / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.15, allocations: 0 / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.15, allocations: 4 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.1501, allocations: 23.97 kB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1504, allocations: 288.6 kB / 0.6355 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.1505, allocations: 26.58 kB / 0.6355 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.1506, allocations: 24.91 kB / 0.6355 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004688/0.1511, allocations: 0.5583 MB / 0.636 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1511, allocations: 34.5 kB / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1511, allocations: 0 / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.1514, allocations: 69.73 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1514, allocations: 51.41 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.1515, allocations: 125.8 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1515, allocations: 25.7 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.1516, allocations: 88.14 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1516, allocations: 7.906 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1516, allocations: 13.7 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1517, allocations: 322.9 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.1518, allocations: 11.98 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.1518, allocations: 12 kB / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.1519, allocations: 24.84 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1519, allocations: 0 / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.152, allocations: 57.53 kB / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1521, allocations: 7.984 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1521, allocations: 8.094 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1521, allocations: 0 / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1521, allocations: 4 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1522, allocations: 3.938 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.1522, allocations: 4 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1522, allocations: 4 kB / 0.6369 GB, free: 15.12 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 7.342e-05/0.1523, allocations: 117.8 kB / 0.637 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1523, allocations: 7.906 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.1525, allocations: 69.14 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1525, allocations: 0 / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1525, allocations: 0 / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1525, allocations: 0 / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.1527, allocations: 165.6 kB / 0.6372 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1527, allocations: 0 / 0.6372 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1527, allocations: 8 kB / 0.6372 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1527, allocations: 0 / 0.6372 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1527, allocations: 0 / 0.6372 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1527, allocations: 7.812 kB / 0.6372 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1527, allocations: 4.031 kB / 0.6372 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1529, allocations: 151.5 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1529, allocations: 81.02 kB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.153, allocations: 0 / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.153, allocations: 11.92 kB / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.1531, allocations: 0 / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1531, allocations: 4.031 kB / 0.6375 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.798e-05/0.1531, allocations: 99.27 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1531, allocations: 0 / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1533, allocations: 15.94 kB / 0.6376 GB, free: 14.29 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.0001382/0.1535, allocations: 103.2 kB / 0.6377 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1536, allocations: 23.98 kB / 0.6377 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1536, allocations: 0 / 0.6377 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.1537, allocations: 16.06 kB / 0.6377 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1539, allocations: 2.188 kB / 0.6377 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.1542, allocations: 138.6 kB / 0.6379 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1544, allocations: 0.6768 MB / 0.6385 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.1544, allocations: 7.984 kB / 0.6385 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.1544, allocations: 11.44 kB / 0.6385 GB, free: 13.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1545, allocations: 4.062 kB / 0.6385 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Templates: time 0.00247/0.1569, allocations: 0.4899 MB / 0.639 GB, free: 12.76 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)