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.001158/0.001158, allocations: 105 kB / 16.4 MB, free: 6.488 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.001015/0.001015, allocations: 195.8 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.338/1.338, 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.7168/0.7168, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 72.56 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001794/0.1348, allocations: 0.5727 MB / 0.6327 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1367, allocations: 1.252 MB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.1368, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1368, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.1369, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.1373, allocations: 71.75 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.498e-05/0.1374, allocations: 4 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1374, allocations: 7.922 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.1374, allocations: 0 / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1375, allocations: 0 / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1375, allocations: 4 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1378, allocations: 91.89 kB / 0.6341 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1378, allocations: 0 / 0.6341 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1378, allocations: 8 kB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.138, allocations: 51.88 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.138, allocations: 4 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.138, allocations: 4 kB / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.138, allocations: 0 / 0.6341 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.0003583/0.1384, allocations: 319.6 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1384, allocations: 12.03 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1385, allocations: 0.9375 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1386, allocations: 168.3 kB / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1386, allocations: 384 / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1386, allocations: 384 / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1387, allocations: 38.02 kB / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1387, allocations: 0 / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1387, allocations: 0 / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1387, allocations: 0 / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.1388, allocations: 0 / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1389, allocations: 153.7 kB / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.139, allocations: 18.52 kB / 0.6348 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.139, allocations: 4.953 kB / 0.6348 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.1396, allocations: 0.5661 MB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1396, allocations: 38.48 kB / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1396, allocations: 0 / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.1398, allocations: 29.7 kB / 0.6354 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1398, allocations: 55.41 kB / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.1399, allocations: 93.98 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1399, allocations: 29.7 kB / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.1399, allocations: 84.08 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.14, allocations: 3.906 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.14, allocations: 9.719 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1401, allocations: 318.8 kB / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.1401, allocations: 0 / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-06/0.1401, allocations: 0 / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.1402, allocations: 12.92 kB / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1402, allocations: 0 / 0.636 GB, free: 8 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.678e-05/0.1403, allocations: 37.69 kB / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1403, allocations: 11.94 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1403, allocations: 3.938 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1403, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.1404, allocations: 7.938 kB / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1404, allocations: 0 / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.1404, allocations: 4 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1404, allocations: 3.938 kB / 0.6361 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 7.303e-05/0.1405, allocations: 109.9 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.1405, allocations: 3.938 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.52e-05/0.1406, allocations: 44.77 kB / 0.6362 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1406, allocations: 0 / 0.6362 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1406, allocations: 0 / 0.6362 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1406, allocations: 3.984 kB / 0.6362 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.1407, allocations: 145.7 kB / 0.6364 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1407, allocations: 4 kB / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.1407, allocations: 4 kB / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1408, allocations: 3.938 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1408, allocations: 0 / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1408, allocations: 0 / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1408, allocations: 3.938 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.887e-05/0.1409, allocations: 61.12 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.1409, allocations: 81.14 kB / 0.6365 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1409, allocations: 3.938 kB / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.1409, allocations: 0 / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.141, allocations: 0 / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.141, allocations: 4 kB / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.98e-05/0.141, allocations: 75.28 kB / 0.6366 GB, free: 15.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 0 / 0.6366 GB, free: 15.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.1412, allocations: 11.98 kB / 0.6366 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.0001749/0.1414, allocations: 111.2 kB / 0.6367 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.1415, allocations: 7.938 kB / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1415, allocations: 0 / 0.6367 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-06/0.1415, allocations: 0 / 0.6367 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.0001408/0.1416, allocations: 8 kB / 0.6367 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.1418, allocations: 80.98 kB / 0.6368 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1421, allocations: 0.669 MB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.455e-05/0.1421, allocations: 8.125 kB / 0.6375 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.1422, allocations: 7.438 kB / 0.6375 GB, free: 14.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1422, allocations: 0 / 0.6375 GB, free: 14.33 MB / 494.1 MB Notification: Performance of Templates: time 0.00294/0.1451, allocations: 304.7 kB / 0.6378 GB, free: 14.03 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)