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.001038/0.001038, allocations: 99.05 kB / 16.02 MB, free: 80 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.001342/0.001342, allocations: 182.5 kB / 16.92 MB, free: 6.77 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 12 kB / 0.4933 GB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4428, allocations: 79.28 MB / 0.5708 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008878/0.4437, allocations: 314.1 kB / 0.5711 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.4456, allocations: 1.24 MB / 0.5723 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.048e-05/0.4456, allocations: 1.531 kB / 0.5723 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.4456, allocations: 0 / 0.5723 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.4456, allocations: 0.8125 kB / 0.5723 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.446, allocations: 48.09 kB / 0.5723 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.354e-05/0.446, allocations: 1.5 kB / 0.5723 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.446, allocations: 5.719 kB / 0.5723 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.4461, allocations: 1.25 kB / 0.5723 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.4461, allocations: 5.469 kB / 0.5723 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.4462, allocations: 0 / 0.5723 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.4464, allocations: 102.7 kB / 0.5724 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.4465, allocations: 2.641 kB / 0.5724 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.4465, allocations: 26.98 kB / 0.5725 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.4466, allocations: 51.44 kB / 0.5725 GB, free: 9.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4466, allocations: 1.469 kB / 0.5725 GB, free: 9.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4467, allocations: 0 / 0.5725 GB, free: 9.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.4467, allocations: 4 kB / 0.5725 GB, free: 9.625 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.0002487/0.4469, allocations: 319.2 kB / 0.5728 GB, free: 9.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.447, allocations: 9.781 kB / 0.5728 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.447, allocations: 4.875 kB / 0.5728 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.705e-05/0.4471, allocations: 163.1 kB / 0.573 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4471, allocations: 384 / 0.573 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.4471, allocations: 6 kB / 0.573 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.4472, allocations: 32.45 kB / 0.573 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4472, allocations: 1 kB / 0.573 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.4472, allocations: 4 kB / 0.573 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4472, allocations: 0 / 0.573 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.4473, allocations: 3.219 kB / 0.573 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.4474, allocations: 147.9 kB / 0.5732 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.17e-05/0.4474, allocations: 17.52 kB / 0.5732 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.4474, allocations: 9.766 kB / 0.5732 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.4479, allocations: 0.5683 MB / 0.5738 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.4479, allocations: 36.16 kB / 0.5738 GB, free: 8.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4479, allocations: 0 / 0.5738 GB, free: 8.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.4481, allocations: 31.77 kB / 0.5738 GB, free: 8.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.4481, allocations: 52.47 kB / 0.5739 GB, free: 8.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.677e-05/0.4481, allocations: 94.44 kB / 0.574 GB, free: 7.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.4481, allocations: 35.73 kB / 0.574 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/0.4482, allocations: 82.48 kB / 0.5741 GB, free: 7.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4482, allocations: 5.141 kB / 0.5741 GB, free: 7.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.4482, allocations: 9.719 kB / 0.5741 GB, free: 7.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.4483, allocations: 312.7 kB / 0.5744 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.4483, allocations: 3.938 kB / 0.5744 GB, free: 7.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.4483, allocations: 2.188 kB / 0.5744 GB, free: 7.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.4483, allocations: 13.14 kB / 0.5744 GB, free: 7.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4483, allocations: 0 / 0.5744 GB, free: 7.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.75e-05/0.4484, allocations: 35.8 kB / 0.5744 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4484, allocations: 9.359 kB / 0.5744 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4484, allocations: 0.8125 kB / 0.5744 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4484, allocations: 0.5156 kB / 0.5744 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/0.4485, allocations: 2.734 kB / 0.5744 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4485, allocations: 0.9688 kB / 0.5744 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.4485, allocations: 0 / 0.5744 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4485, allocations: 0.8125 kB / 0.5744 GB, free: 7.395 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.4486, allocations: 116 kB / 0.5746 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.4486, allocations: 8.781 kB / 0.5746 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.4487, allocations: 40.66 kB / 0.5746 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4487, allocations: 0 / 0.5746 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4487, allocations: 1.797 kB / 0.5746 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4487, allocations: 0 / 0.5746 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.223e-05/0.4487, allocations: 144.7 kB / 0.5747 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4487, allocations: 4.906 kB / 0.5748 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.4488, allocations: 2.656 kB / 0.5748 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4488, allocations: 3.938 kB / 0.5748 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4488, allocations: 2.141 kB / 0.5748 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4488, allocations: 4 kB / 0.5748 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4488, allocations: 0 / 0.5748 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.317e-05/0.4489, allocations: 61.47 kB / 0.5748 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.4489, allocations: 81.12 kB / 0.5749 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.4489, allocations: 8.531 kB / 0.5749 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.4489, allocations: 1.156 kB / 0.5749 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.4489, allocations: 0.7031 kB / 0.5749 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.4489, allocations: 1.219 kB / 0.5749 GB, free: 6.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.469e-05/0.449, allocations: 75.28 kB / 0.575 GB, free: 6.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.449, allocations: 0 / 0.575 GB, free: 6.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000192/0.4492, allocations: 5.859 kB / 0.575 GB, free: 6.785 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 (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.0001513/0.4493, allocations: 107.8 kB / 0.5751 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.072e-05/0.4494, allocations: 7.781 kB / 0.5751 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4494, allocations: 4.781 kB / 0.5751 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.819e-06/0.4494, allocations: 6.188 kB / 0.5751 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.4496, allocations: 1.5 kB / 0.5751 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001435/0.4497, allocations: 81.77 kB / 0.5752 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.643e-05/0.4498, allocations: 0.6727 MB / 0.5758 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.031e-05/0.4498, allocations: 5.125 kB / 0.5759 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.4498, allocations: 8.688 kB / 0.5759 GB, free: 5.875 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4499, allocations: 0 / 0.5759 GB, free: 5.875 MB / 430.1 MB Notification: Performance of Templates: time 0.002227/0.4521, allocations: 293.9 kB / 0.5761 GB, free: 5.812 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)