Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00126/0.00126, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.001092/0.001093, allocations: 190.5 kB / 17.35 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 284.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8953/0.8953, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 95.86 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3672, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001695/0.369, allocations: 0.5746 MB / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3704, allocations: 1.264 MB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.3704, allocations: 0 / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.021e-05/0.3705, allocations: 0 / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.3705, allocations: 0 / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3708, allocations: 63.75 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.3709, allocations: 0 / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.3709, allocations: 8 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.157e-05/0.3709, allocations: 0 / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.371, allocations: 0 / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.371, allocations: 0 / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.3712, allocations: 99.89 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.3712, allocations: 0 / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.3712, allocations: 7.984 kB / 0.7691 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3714, allocations: 51.88 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3714, allocations: 3.938 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3714, allocations: 0 / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.3714, allocations: 4 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB 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.000278/0.3717, allocations: 331.6 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3717, allocations: 8.031 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.3717, allocations: 0.9375 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.3718, allocations: 160.4 kB / 0.7696 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.3718, allocations: 4.375 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.3719, allocations: 4.312 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.3719, allocations: 34.02 kB / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.372, allocations: 0 / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.372, allocations: 0 / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.372, allocations: 11.98 kB / 0.7696 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.372, allocations: 3.984 kB / 0.7697 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.3721, allocations: 143.5 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.102e-05/0.3722, allocations: 18.61 kB / 0.7698 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.3722, allocations: 8.797 kB / 0.7698 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.3727, allocations: 0.5662 MB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3727, allocations: 38.5 kB / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.3727, allocations: 0 / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.3728, allocations: 29.7 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3729, allocations: 55.41 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.026e-05/0.3729, allocations: 89.86 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.3729, allocations: 25.7 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.373, allocations: 88.25 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.373, allocations: 7.562 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.373, allocations: 13.72 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.3731, allocations: 310.8 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.3731, allocations: 0 / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.3732, allocations: 7.938 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.3732, allocations: 8.859 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3732, allocations: 64 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.783e-05/0.3732, allocations: 37.7 kB / 0.771 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3733, allocations: 7.984 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3733, allocations: 7.875 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3733, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.754e-05/0.3733, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3733, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.3734, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3734, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB 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.424e-05/0.3734, allocations: 124.2 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.3735, allocations: 0 / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.3735, allocations: 44.75 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3735, allocations: 0 / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3736, allocations: 0 / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.3736, allocations: 77.11 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.3736, allocations: 4 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.3736, allocations: 0 / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.3736, allocations: 4.031 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.748e-05/0.3737, allocations: 112.9 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.787e-05/0.3738, allocations: 206.8 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.318e-05/0.3738, allocations: 0 / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.3739, allocations: 75.28 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.3739, allocations: 0 / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.3742, allocations: 119.2 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of SimCode: time 0.0002629/0.3745, allocations: 0.5169 MB / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Templates: time 0.00219/0.3767, allocations: 0.5119 MB / 0.7728 GB, free: 13.56 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)