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.001592/0.001592, allocations: 113.3 kB / 17.08 MB, free: 6.016 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.002088/0.002088, allocations: 199 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.399/1.399, 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.702/0.702, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.59 kB / 0.5584 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 76.18 MB / 0.6328 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001584/0.125, allocations: 0.5638 MB / 0.6333 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1265, allocations: 1.256 MB / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.1265, allocations: 0 / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.1265, allocations: 0 / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.1266, allocations: 0 / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1269, allocations: 63.75 kB / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.64e-05/0.127, allocations: 4 kB / 0.6346 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.127, allocations: 7.969 kB / 0.6346 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.127, allocations: 3.984 kB / 0.6346 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.1271, allocations: 8 kB / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.1271, allocations: 0 / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1273, allocations: 95.91 kB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1273, allocations: 3.984 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.1273, allocations: 0 / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1275, allocations: 55.88 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1275, allocations: 3.984 kB / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1275, allocations: 0 / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1275, allocations: 3.938 kB / 0.6348 GB, free: 2.281 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.0002598/0.1278, allocations: 323.6 kB / 0.6351 GB, free: 1.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1278, allocations: 12.03 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.1278, allocations: 0.9375 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.1279, allocations: 164.4 kB / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1279, allocations: 384 / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1279, allocations: 384 / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.606e-05/0.128, allocations: 34.02 kB / 0.6353 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.128, allocations: 0 / 0.6353 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1281, allocations: 4 kB / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1281, allocations: 0 / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.1281, allocations: 8 kB / 0.6353 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1282, allocations: 145.7 kB / 0.6355 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.1283, allocations: 18.52 kB / 0.6355 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.1283, allocations: 8.953 kB / 0.6355 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.1288, allocations: 0.5622 MB / 0.636 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1288, allocations: 42.44 kB / 0.6361 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1288, allocations: 0 / 0.6361 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.129, allocations: 37.64 kB / 0.6361 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.129, allocations: 55.41 kB / 0.6362 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.025e-05/0.129, allocations: 89.86 kB / 0.6362 GB, free: 488 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.129, allocations: 25.7 kB / 0.6363 GB, free: 456 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.1291, allocations: 80.14 kB / 0.6363 GB, free: 372 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1291, allocations: 4.031 kB / 0.6364 GB, free: 368 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1291, allocations: 17.72 kB / 0.6364 GB, free: 344 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.1292, allocations: 314.8 kB / 0.6367 GB, free: 20 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.1293, allocations: 0 / 0.6367 GB, free: 20 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-06/0.1293, allocations: 0 / 0.6367 GB, free: 20 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.1293, allocations: 12.86 kB / 0.6367 GB, free: 4 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1293, allocations: 0 / 0.6367 GB, free: 4 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.535e-05/0.1294, allocations: 41.62 kB / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1294, allocations: 12.03 kB / 0.6367 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.1294, allocations: 0 / 0.6367 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1294, allocations: 0 / 0.6367 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.1295, allocations: 11.94 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1295, allocations: 3.984 kB / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.1295, allocations: 0 / 0.6367 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1295, allocations: 0 / 0.6367 GB, free: 15.93 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 (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.353e-05/0.1296, allocations: 105.8 kB / 0.6368 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1296, allocations: 3.938 kB / 0.6369 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.1297, allocations: 52.75 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1297, allocations: 0 / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.1297, allocations: 0 / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1297, allocations: 0 / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.208e-05/0.1298, allocations: 141.7 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1298, allocations: 0 / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.1298, allocations: 7.938 kB / 0.637 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1298, allocations: 3.938 kB / 0.637 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.1298, allocations: 0 / 0.637 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1298, allocations: 4.031 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1298, allocations: 3.984 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.752e-05/0.1299, allocations: 57.14 kB / 0.6371 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.1299, allocations: 77.11 kB / 0.6372 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.1299, allocations: 3.938 kB / 0.6372 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-06/0.13, allocations: 0 / 0.6372 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.13, allocations: 4 kB / 0.6372 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.13, allocations: 8.016 kB / 0.6372 GB, free: 15.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.11e-05/0.13, allocations: 75.28 kB / 0.6373 GB, free: 15.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.13, allocations: 3.938 kB / 0.6373 GB, free: 15.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.1302, allocations: 4 kB / 0.6373 GB, free: 15.28 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 (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 Backend phase and start with SimCode phase: time 0.0001291/0.1303, allocations: 103.2 kB / 0.6374 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.924e-05/0.1304, allocations: 11.94 kB / 0.6374 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1304, allocations: 0 / 0.6374 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-06/0.1304, allocations: 4.062 kB / 0.6374 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1305, allocations: 7.984 kB / 0.6374 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.1307, allocations: 106.7 kB / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1309, allocations: 0.669 MB / 0.6382 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.131, allocations: 11.44 kB / 0.6382 GB, free: 14.3 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.131, allocations: 0 / 0.6382 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Templates: time 0.001535/0.1325, allocations: 439.8 kB / 0.6386 GB, free: 13.87 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)