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.001116/0.001116, allocations: 115.7 kB / 17.09 MB, free: 5.992 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.0009936/0.0009936, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.31/1.31, 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.6789/0.6789, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 65.59 kB / 0.5583 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.121, allocations: 76.18 MB / 0.6327 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002407/0.1234, allocations: 1.487 MB / 0.6342 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.1244, allocations: 0.6514 MB / 0.6348 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.1244, allocations: 0 / 0.6348 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.1245, allocations: 3.938 kB / 0.6348 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.1245, allocations: 11.88 kB / 0.6348 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1248, allocations: 71.73 kB / 0.6349 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.1249, allocations: 35.92 kB / 0.6349 GB, free: 2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.125, allocations: 23.97 kB / 0.635 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.1251, allocations: 11.94 kB / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.1251, allocations: 15.92 kB / 0.635 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1252, allocations: 4 kB / 0.635 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1253, allocations: 99.89 kB / 0.6351 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1254, allocations: 11.92 kB / 0.6351 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.1254, allocations: 23.88 kB / 0.6351 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1255, allocations: 91.7 kB / 0.6352 GB, free: 1.723 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1256, allocations: 4 kB / 0.6352 GB, free: 1.719 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1256, allocations: 0 / 0.6352 GB, free: 1.719 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1256, allocations: 0 / 0.6352 GB, free: 1.719 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.0003792/0.126, allocations: 355.3 kB / 0.6356 GB, free: 1.324 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.126, allocations: 12.03 kB / 0.6356 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.126, allocations: 0.9375 kB / 0.6356 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1261, allocations: 172.3 kB / 0.6357 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.1262, allocations: 384 / 0.6357 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1262, allocations: 8.375 kB / 0.6357 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.1263, allocations: 57.98 kB / 0.6358 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.1263, allocations: 0 / 0.6358 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1263, allocations: 4 kB / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1263, allocations: 4 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.1264, allocations: 27.86 kB / 0.6358 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.1268, allocations: 284.6 kB / 0.6361 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.1268, allocations: 34.56 kB / 0.6361 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.1269, allocations: 24.84 kB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/0.1273, allocations: 0.5544 MB / 0.6367 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.1274, allocations: 30.56 kB / 0.6367 GB, free: 15.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1274, allocations: 0 / 0.6367 GB, free: 15.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.1276, allocations: 69.67 kB / 0.6368 GB, free: 15.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.1276, allocations: 51.41 kB / 0.6368 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.1277, allocations: 129.7 kB / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1278, allocations: 25.7 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1278, allocations: 88.14 kB / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.1278, allocations: 7.906 kB / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1279, allocations: 9.844 kB / 0.6371 GB, free: 15.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.128, allocations: 330.8 kB / 0.6374 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.128, allocations: 7.938 kB / 0.6374 GB, free: 15.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.257e-05/0.1281, allocations: 15.98 kB / 0.6374 GB, free: 15.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.1281, allocations: 24.84 kB / 0.6375 GB, free: 15.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1281, allocations: 0 / 0.6375 GB, free: 15.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.1283, allocations: 57.66 kB / 0.6375 GB, free: 15.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1283, allocations: 8 kB / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1283, allocations: 0 / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1283, allocations: 0 / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.1284, allocations: 7.984 kB / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1284, allocations: 0 / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.1284, allocations: 4 kB / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1284, allocations: 3.938 kB / 0.6375 GB, free: 14.99 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 6.808e-05/0.1285, allocations: 113.8 kB / 0.6376 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1285, allocations: 15.92 kB / 0.6377 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.1287, allocations: 57.2 kB / 0.6377 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1287, allocations: 0 / 0.6377 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1287, allocations: 0 / 0.6377 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1287, allocations: 4 kB / 0.6377 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1289, allocations: 165.7 kB / 0.6379 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1289, allocations: 11.92 kB / 0.6379 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.1289, allocations: 8 kB / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1289, allocations: 0 / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.129, allocations: 4.031 kB / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.129, allocations: 0 / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.129, allocations: 0 / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1291, allocations: 159.4 kB / 0.638 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1292, allocations: 81.02 kB / 0.6381 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1292, allocations: 3.938 kB / 0.6381 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.1293, allocations: 4 kB / 0.6381 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1293, allocations: 8.016 kB / 0.6381 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1293, allocations: 0 / 0.6381 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.1294, allocations: 99.27 kB / 0.6382 GB, free: 14.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1294, allocations: 0 / 0.6382 GB, free: 14.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1296, allocations: 15.94 kB / 0.6383 GB, free: 14.15 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.0001211/0.1297, allocations: 103.2 kB / 0.6383 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1299, allocations: 27.92 kB / 0.6384 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1299, allocations: 4.062 kB / 0.6384 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.1299, allocations: 15.98 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1301, allocations: 2.188 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.1304, allocations: 156.4 kB / 0.6385 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.1306, allocations: 0.6846 MB / 0.6392 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.1307, allocations: 11.44 kB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1307, allocations: 4.062 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of Templates: time 0.001841/0.1325, allocations: 0.7266 MB / 0.6399 GB, free: 12.35 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)