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.001382/0.001382, allocations: 102.5 kB / 16.93 MB, free: 5.797 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.001106/0.001107, allocations: 191.6 kB / 17.87 MB, free: 5.152 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.322/1.322, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7733/0.7733, allocations: 122.8 MB / 414.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.86 kB / 0.4918 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4509, allocations: 77.91 MB / 0.5679 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002062/0.4531, allocations: 0.5655 MB / 0.5684 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.4548, allocations: 1.252 MB / 0.5696 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.4548, allocations: 0 / 0.5696 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.4549, allocations: 0 / 0.5696 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.4549, allocations: 2.781 kB / 0.5696 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.4553, allocations: 65.34 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.4554, allocations: 0.9062 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.4554, allocations: 1.859 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.4555, allocations: 1.125 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.4555, allocations: 6.062 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4555, allocations: 1.75 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.4558, allocations: 95.98 kB / 0.5698 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.4558, allocations: 0.7031 kB / 0.5698 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.4558, allocations: 5.641 kB / 0.5698 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.456, allocations: 49.39 kB / 0.5699 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.456, allocations: 0 / 0.5699 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.456, allocations: 1.094 kB / 0.5699 GB, free: 31.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.456, allocations: 0.625 kB / 0.5699 GB, free: 31.38 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.0003219/0.4564, allocations: 329.3 kB / 0.5702 GB, free: 31.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4564, allocations: 17.19 kB / 0.5702 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.4565, allocations: 4.938 kB / 0.5702 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.063e-05/0.4565, allocations: 165 kB / 0.5703 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4566, allocations: 2.109 kB / 0.5703 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.4566, allocations: 0.9688 kB / 0.5703 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.4567, allocations: 34.36 kB / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4567, allocations: 0 / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4567, allocations: 1.156 kB / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4567, allocations: 1.5 kB / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.4567, allocations: 1.125 kB / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.4569, allocations: 153.8 kB / 0.5705 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.4569, allocations: 22.17 kB / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.4569, allocations: 10.73 kB / 0.5706 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/0.4575, allocations: 0.5613 MB / 0.5711 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4575, allocations: 40.66 kB / 0.5712 GB, free: 29.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.4575, allocations: 0 / 0.5712 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.4577, allocations: 32.23 kB / 0.5712 GB, free: 29.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4577, allocations: 53.22 kB / 0.5712 GB, free: 29.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.809e-05/0.4578, allocations: 91.55 kB / 0.5713 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4578, allocations: 29.64 kB / 0.5713 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.4578, allocations: 81.3 kB / 0.5714 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.4579, allocations: 4.703 kB / 0.5714 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.4579, allocations: 12.84 kB / 0.5714 GB, free: 29.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.458, allocations: 317.4 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.4581, allocations: 1.875 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.4581, allocations: 1.516 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/0.4581, allocations: 10.33 kB / 0.5718 GB, free: 29.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4581, allocations: 1.062 kB / 0.5718 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.837e-05/0.4582, allocations: 33.34 kB / 0.5718 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4582, allocations: 10.69 kB / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4582, allocations: 1.375 kB / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4583, allocations: 0 / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.4584, allocations: 7.047 kB / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4584, allocations: 1.344 kB / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.4584, allocations: 0.8125 kB / 0.5718 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4584, allocations: 1.219 kB / 0.5718 GB, free: 29.15 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 8.167e-05/0.4585, allocations: 117 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.4585, allocations: 3.938 kB / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4586, allocations: 40.09 kB / 0.572 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4586, allocations: 0 / 0.572 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4587, allocations: 0.6562 kB / 0.572 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4587, allocations: 4.469 kB / 0.572 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.4588, allocations: 144.5 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4588, allocations: 5.953 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.4588, allocations: 6.281 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4588, allocations: 6.656 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4588, allocations: 4.797 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4589, allocations: 0 / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4589, allocations: 5.75 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.459, allocations: 55.97 kB / 0.5722 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.459, allocations: 80.3 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.459, allocations: 5.219 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.459, allocations: 0 / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.4591, allocations: 2.969 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.4591, allocations: 1.219 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.4591, allocations: 79.28 kB / 0.5724 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4591, allocations: 0 / 0.5724 GB, free: 28.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.4594, allocations: 11.39 kB / 0.5724 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.0002595/0.4597, allocations: 106 kB / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.4598, allocations: 8.047 kB / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4598, allocations: 0 / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-06/0.4598, allocations: 2.875 kB / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.46, allocations: 2.812 kB / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.4602, allocations: 105.7 kB / 0.5726 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.4604, allocations: 0.673 MB / 0.5732 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.4604, allocations: 8.438 kB / 0.5732 GB, free: 27.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4604, allocations: 0 / 0.5732 GB, free: 27.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002251/0.4627, allocations: 440 kB / 0.5737 GB, free: 27.61 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)