Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 118.2 kB / 17.1 MB, free: 5.996 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.001205/0.001205, allocations: 189.6 kB / 18.02 MB, free: 5.082 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.218/1.218, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6587/0.6587, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 70.58 kB / 0.5584 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1116, allocations: 76.19 MB / 0.6328 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001469/0.1131, allocations: 0.567 MB / 0.6333 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1144, allocations: 1.252 MB / 0.6346 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.1144, allocations: 0 / 0.6346 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.849e-06/0.1144, allocations: 0 / 0.6346 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.1145, allocations: 0 / 0.6346 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1148, allocations: 71.75 kB / 0.6346 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.605e-05/0.1148, allocations: 4 kB / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.1148, allocations: 0 / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.16e-05/0.1149, allocations: 0 / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.1149, allocations: 3.984 kB / 0.6346 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.1149, allocations: 0 / 0.6346 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.1151, allocations: 95.89 kB / 0.6347 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.1151, allocations: 3.984 kB / 0.6347 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.1152, allocations: 7.938 kB / 0.6347 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1153, allocations: 47.94 kB / 0.6348 GB, free: 2.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1153, allocations: 8 kB / 0.6348 GB, free: 2.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1153, allocations: 0 / 0.6348 GB, free: 2.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1153, allocations: 0 / 0.6348 GB, free: 2.406 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002513/0.1156, allocations: 323.6 kB / 0.6351 GB, free: 2.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1156, allocations: 8.031 kB / 0.6351 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.1156, allocations: 4.938 kB / 0.6351 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.1157, allocations: 160.4 kB / 0.6353 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1157, allocations: 384 / 0.6353 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.1157, allocations: 384 / 0.6353 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.408e-05/0.1158, allocations: 41.94 kB / 0.6353 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1158, allocations: 4 kB / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.1158, allocations: 0 / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1158, allocations: 0 / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.1159, allocations: 0 / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.116, allocations: 145.7 kB / 0.6355 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.83e-05/0.116, allocations: 18.61 kB / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.116, allocations: 12.78 kB / 0.6355 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/0.1165, allocations: 0.5623 MB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1166, allocations: 42.44 kB / 0.6361 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1166, allocations: 0 / 0.6361 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001083/0.1167, allocations: 33.69 kB / 0.6361 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.1167, allocations: 51.41 kB / 0.6362 GB, free: 0.707 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.84e-05/0.1167, allocations: 93.98 kB / 0.6362 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.1168, allocations: 25.7 kB / 0.6363 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.1168, allocations: 84.14 kB / 0.6364 GB, free: 500 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1168, allocations: 7.906 kB / 0.6364 GB, free: 492 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.1169, allocations: 9.719 kB / 0.6364 GB, free: 476 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1169, allocations: 314.8 kB / 0.6367 GB, free: 152 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.117, allocations: 4 kB / 0.6367 GB, free: 148 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.117, allocations: 3.938 kB / 0.6367 GB, free: 144 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.117, allocations: 16.91 kB / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.117, allocations: 0 / 0.6367 GB, free: 124 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.298e-05/0.1171, allocations: 33.7 kB / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.1171, allocations: 4 kB / 0.6367 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1171, allocations: 3.938 kB / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1171, allocations: 4 kB / 0.6367 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.27e-05/0.1171, allocations: 0 / 0.6367 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1171, allocations: 0 / 0.6367 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.1172, allocations: 0 / 0.6367 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1172, allocations: 4.031 kB / 0.6367 GB, free: 68 kB / 478.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 (1): * Single equations (assignments): 1 * 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.347e-05/0.1172, allocations: 109.8 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.1172, allocations: 11.91 kB / 0.6369 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.1173, allocations: 44.7 kB / 0.6369 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1173, allocations: 4 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1173, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1174, allocations: 81.11 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.1174, allocations: 8.016 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.1174, allocations: 0 / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-06/0.1174, allocations: 0 / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.711e-05/0.1175, allocations: 108.9 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.891e-05/0.1176, allocations: 210.8 kB / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.207e-05/0.1176, allocations: 64 / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.1176, allocations: 79.28 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of Backend: time 2.11e-07/0.1177, allocations: 0 / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.118, allocations: 98.39 kB / 0.6375 GB, free: 15.26 MB / 494.1 MB Notification: Performance of SimCode: time 0.0002544/0.1183, allocations: 0.5293 MB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Templates: time 0.002103/0.1204, allocations: 0.5081 MB / 0.6385 GB, free: 14.17 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)