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.001474/0.001474, allocations: 98.41 kB / 16.26 MB, free: 5.934 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.001432/0.001432, allocations: 186.9 kB / 17.2 MB, free: 5.574 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8072/0.8072, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 59.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3741, allocations: 77.92 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001787/0.3759, allocations: 0.5727 MB / 0.5678 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3774, allocations: 1.248 MB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.325e-05/0.3774, allocations: 0 / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.848e-06/0.3774, allocations: 0 / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.3774, allocations: 1.281 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3778, allocations: 65.06 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.411e-05/0.3778, allocations: 1.969 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.3779, allocations: 2.594 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.3779, allocations: 1 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.3779, allocations: 5.828 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.3779, allocations: 1.156 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.3782, allocations: 100.8 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-06/0.3782, allocations: 2.406 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.3782, allocations: 3.984 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3783, allocations: 52.72 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3783, allocations: 0.6094 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3783, allocations: 5.594 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3784, allocations: 1.344 kB / 0.5692 GB, free: 31.36 MB / 446.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.0002055/0.3786, allocations: 320.8 kB / 0.5695 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3786, allocations: 15.03 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.3786, allocations: 2.219 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.39e-05/0.3787, allocations: 161.8 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3787, allocations: 5.344 kB / 0.5697 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.3787, allocations: 1.312 kB / 0.5697 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.3788, allocations: 35.78 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.3788, allocations: 0 / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.3788, allocations: 0 / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3788, allocations: 0 / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.3788, allocations: 7.25 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.249e-05/0.3789, allocations: 144.3 kB / 0.5699 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.671e-05/0.3789, allocations: 22.98 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.379, allocations: 10.05 kB / 0.5699 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.3794, allocations: 0.5617 MB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.3794, allocations: 35.06 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3794, allocations: 1.844 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001032/0.3795, allocations: 39.56 kB / 0.5705 GB, free: 29.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.636e-05/0.3795, allocations: 53.97 kB / 0.5706 GB, free: 29.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.428e-05/0.3796, allocations: 90.75 kB / 0.5707 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.3796, allocations: 25.7 kB / 0.5707 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-06/0.3796, allocations: 81.7 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.3796, allocations: 4.5 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.3796, allocations: 14.41 kB / 0.5708 GB, free: 29.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.3797, allocations: 311.9 kB / 0.5711 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3797, allocations: 6.234 kB / 0.5711 GB, free: 29.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.3797, allocations: 5.906 kB / 0.5711 GB, free: 29.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.3797, allocations: 9.328 kB / 0.5711 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3797, allocations: 0 / 0.5711 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.546e-05/0.3798, allocations: 42.17 kB / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3798, allocations: 9.094 kB / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3798, allocations: 1.469 kB / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.3798, allocations: 0 / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.554e-05/0.3799, allocations: 3.25 kB / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3799, allocations: 0 / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.3799, allocations: 1.625 kB / 0.5712 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3799, allocations: 2.672 kB / 0.5712 GB, free: 29.14 MB / 446.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 3.426e-05/0.3799, allocations: 112.6 kB / 0.5713 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.38, allocations: 4.688 kB / 0.5713 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.38, allocations: 46.95 kB / 0.5713 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.38, allocations: 3.938 kB / 0.5713 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3801, allocations: 4 kB / 0.5713 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3801, allocations: 0 / 0.5713 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.659e-05/0.3801, allocations: 144.8 kB / 0.5715 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3801, allocations: 1.219 kB / 0.5715 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.3801, allocations: 1.031 kB / 0.5715 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3801, allocations: 4.969 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.3801, allocations: 1.172 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3802, allocations: 1.281 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3802, allocations: 0.8438 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.936e-05/0.3802, allocations: 59.61 kB / 0.5715 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.3802, allocations: 79.69 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.3803, allocations: 5.062 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.3803, allocations: 3.656 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.3803, allocations: 3.938 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.3803, allocations: 1.953 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.207e-06/0.3803, allocations: 75.28 kB / 0.5717 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3803, allocations: 1.062 kB / 0.5717 GB, free: 28.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.3805, allocations: 11.22 kB / 0.5717 GB, free: 28.54 MB / 446.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.0001157/0.3806, allocations: 106.8 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.726e-05/0.3807, allocations: 5.219 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3807, allocations: 2.25 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.3807, allocations: 1.375 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3809, allocations: 6.062 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001289/0.381, allocations: 76.34 kB / 0.5719 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.447e-05/0.3811, allocations: 0.6749 MB / 0.5726 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.3811, allocations: 8.312 kB / 0.5726 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.3811, allocations: 11.44 kB / 0.5726 GB, free: 27.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3811, allocations: 0 / 0.5726 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Templates: time 0.001973/0.3831, allocations: 302.3 kB / 0.5729 GB, free: 27.59 MB / 446.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)