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.001043/0.001043, allocations: 92.39 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 175.6 kB / 16.58 MB, free: 6.066 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.388/1.388, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6943/0.6943, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 12 kB / 495.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.53 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006835/0.1371, allocations: 299.8 kB / 0.5596 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1386, allocations: 1.204 MB / 0.5608 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.205e-05/0.1387, allocations: 3.938 kB / 0.5608 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.137e-06/0.1387, allocations: 0 / 0.5608 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.1387, allocations: 0 / 0.5608 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.139, allocations: 43.89 kB / 0.5608 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.139, allocations: 8 kB / 0.5609 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1391, allocations: 0 / 0.5609 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.1391, allocations: 0 / 0.5609 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.1392, allocations: 4 kB / 0.5609 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-06/0.1392, allocations: 0 / 0.5609 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1394, allocations: 91.89 kB / 0.5609 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.1394, allocations: 0 / 0.5609 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1394, allocations: 29.64 kB / 0.561 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1395, allocations: 43.94 kB / 0.561 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1396, allocations: 0 / 0.561 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1396, allocations: 0 / 0.561 GB, free: 7.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1396, allocations: 0 / 0.561 GB, free: 7.648 MB / 430.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.0002638/0.1398, allocations: 327.4 kB / 0.5613 GB, free: 7.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1399, allocations: 12.03 kB / 0.5613 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.1399, allocations: 0 / 0.5613 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.14, allocations: 167 kB / 0.5615 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.14, allocations: 0 / 0.5615 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.14, allocations: 0 / 0.5615 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.1401, allocations: 29.7 kB / 0.5615 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1401, allocations: 3.953 kB / 0.5615 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1401, allocations: 0 / 0.5615 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1401, allocations: 0 / 0.5615 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.1402, allocations: 7.984 kB / 0.5615 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1403, allocations: 157.6 kB / 0.5617 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.1404, allocations: 14.58 kB / 0.5617 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.1404, allocations: 8.859 kB / 0.5617 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.141, allocations: 0.5701 MB / 0.5623 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.141, allocations: 30.56 kB / 0.5623 GB, free: 6.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.141, allocations: 3.938 kB / 0.5623 GB, free: 6.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.1412, allocations: 41.59 kB / 0.5623 GB, free: 5.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.1412, allocations: 51.41 kB / 0.5624 GB, free: 5.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.314e-05/0.1412, allocations: 89.86 kB / 0.5625 GB, free: 5.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1413, allocations: 25.7 kB / 0.5625 GB, free: 5.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.1413, allocations: 80.27 kB / 0.5626 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1413, allocations: 7.906 kB / 0.5626 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.1413, allocations: 0 / 0.5626 GB, free: 5.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1414, allocations: 318.8 kB / 0.5629 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1415, allocations: 4 kB / 0.5629 GB, free: 5.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-06/0.1415, allocations: 0 / 0.5629 GB, free: 5.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.695e-05/0.1415, allocations: 0 / 0.5629 GB, free: 5.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1415, allocations: 0 / 0.5629 GB, free: 5.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.439e-05/0.1415, allocations: 33.7 kB / 0.5629 GB, free: 5.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1416, allocations: 10.28 kB / 0.5629 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1416, allocations: 3.938 kB / 0.5629 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.1416, allocations: 0 / 0.5629 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.1416, allocations: 4 kB / 0.5629 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1417, allocations: 3.953 kB / 0.5629 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.1417, allocations: 0 / 0.5629 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1417, allocations: 7.969 kB / 0.563 GB, free: 5.32 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.1418, allocations: 105.8 kB / 0.5631 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1418, allocations: 8 kB / 0.5631 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.1419, allocations: 40.77 kB / 0.5631 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1419, allocations: 0 / 0.5631 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1419, allocations: 0 / 0.5631 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1419, allocations: 3.953 kB / 0.5631 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.251e-05/0.142, allocations: 153.7 kB / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.142, allocations: 0 / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.142, allocations: 0 / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.142, allocations: 0 / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.142, allocations: 3.938 kB / 0.5633 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.142, allocations: 8.031 kB / 0.5633 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.142, allocations: 0 / 0.5633 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.432e-05/0.1421, allocations: 61.08 kB / 0.5633 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1421, allocations: 77.39 kB / 0.5634 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1422, allocations: 4 kB / 0.5634 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.1422, allocations: 0 / 0.5634 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.1422, allocations: 0 / 0.5634 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1422, allocations: 4.031 kB / 0.5634 GB, free: 4.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.1422, allocations: 75.28 kB / 0.5635 GB, free: 4.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1422, allocations: 0 / 0.5635 GB, free: 4.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.1424, allocations: 11.92 kB / 0.5635 GB, free: 4.676 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.1426, allocations: 111.2 kB / 0.5636 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.1427, allocations: 7.938 kB / 0.5636 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1427, allocations: 0 / 0.5636 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.1427, allocations: 8.062 kB / 0.5636 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1428, allocations: 3.938 kB / 0.5636 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001516/0.143, allocations: 78.69 kB / 0.5637 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1432, allocations: 0.6692 MB / 0.5643 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.1432, allocations: 4 kB / 0.5643 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.1433, allocations: 7.438 kB / 0.5643 GB, free: 3.727 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1433, allocations: 0 / 0.5643 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Templates: time 0.002385/0.1457, allocations: 284.1 kB / 0.5646 GB, free: 3.449 MB / 430.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)