Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 98.38 kB / 16.93 MB, free: 5.684 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.00115/0.00115, allocations: 189.5 kB / 17.87 MB, free: 5.164 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.347/1.347, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7524/0.7524, allocations: 122.9 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 63.91 kB / 0.4918 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4083, allocations: 77.92 MB / 0.5679 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001725/0.4101, allocations: 0.597 MB / 0.5684 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.4117, allocations: 1.434 MB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.4118, allocations: 0 / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.4118, allocations: 6.344 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.4119, allocations: 1.188 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.4125, allocations: 210.8 kB / 0.57 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.4126, allocations: 35.73 kB / 0.5701 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.4127, allocations: 2.031 kB / 0.5701 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.4127, allocations: 20.62 kB / 0.5701 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.4128, allocations: 24 kB / 0.5701 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4128, allocations: 1 kB / 0.5701 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.4132, allocations: 248.8 kB / 0.5704 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.4132, allocations: 5 kB / 0.5704 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.4133, allocations: 19.7 kB / 0.5704 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.4136, allocations: 215.1 kB / 0.5706 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4136, allocations: 1.266 kB / 0.5706 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4136, allocations: 0 / 0.5706 GB, free: 31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.4136, allocations: 0 / 0.5706 GB, free: 31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003235/0.414, allocations: 409.4 kB / 0.571 GB, free: 30.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.414, allocations: 10.42 kB / 0.571 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.4141, allocations: 4.312 kB / 0.571 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.56e-05/0.4141, allocations: 171.9 kB / 0.5712 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.4142, allocations: 6.031 kB / 0.5712 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.4142, allocations: 6.641 kB / 0.5712 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4143, allocations: 81.5 kB / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.4143, allocations: 0 / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4144, allocations: 2.016 kB / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4144, allocations: 0.5 kB / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.4144, allocations: 37.53 kB / 0.5713 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.4146, allocations: 163.3 kB / 0.5714 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.4146, allocations: 61.16 kB / 0.5715 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.4147, allocations: 53.61 kB / 0.5716 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.4147, allocations: 0 / 0.5716 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4147, allocations: 37.78 kB / 0.5716 GB, free: 30.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.4148, allocations: 0 / 0.5716 GB, free: 30.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002951/0.4151, allocations: 189.6 kB / 0.5718 GB, free: 29.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.4151, allocations: 80.89 kB / 0.5718 GB, free: 29.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.4152, allocations: 116.4 kB / 0.572 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.4152, allocations: 27.61 kB / 0.572 GB, free: 29.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.4152, allocations: 86.83 kB / 0.5721 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.4152, allocations: 26.22 kB / 0.5721 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.4153, allocations: 20.27 kB / 0.5721 GB, free: 29.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.4153, allocations: 317.9 kB / 0.5724 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.4154, allocations: 37.66 kB / 0.5724 GB, free: 29.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.4155, allocations: 36.16 kB / 0.5725 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.4156, allocations: 149.2 kB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4156, allocations: 1.469 kB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001688/0.4158, allocations: 152 kB / 0.5728 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.4158, allocations: 44.22 kB / 0.5728 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4158, allocations: 5.859 kB / 0.5728 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4158, allocations: 0 / 0.5728 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.4159, allocations: 1.25 kB / 0.5728 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4159, allocations: 1.281 kB / 0.5728 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.416, allocations: 7.625 kB / 0.5728 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.416, allocations: 6.141 kB / 0.5728 GB, free: 29.06 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.08e-05/0.4161, allocations: 147.3 kB / 0.573 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.4161, allocations: 7.812 kB / 0.573 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.4161, allocations: 13.5 kB / 0.573 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4161, allocations: 0 / 0.573 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4161, allocations: 0 / 0.573 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4161, allocations: 0.7031 kB / 0.573 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.4162, allocations: 173 kB / 0.5732 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4162, allocations: 0.5938 kB / 0.5732 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.4162, allocations: 0.8438 kB / 0.5732 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4163, allocations: 6.188 kB / 0.5732 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4163, allocations: 3.859 kB / 0.5732 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4163, allocations: 1.375 kB / 0.5732 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4163, allocations: 1.156 kB / 0.5732 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.4165, allocations: 196.6 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.4165, allocations: 87.05 kB / 0.5734 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4166, allocations: 6.406 kB / 0.5735 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.4166, allocations: 9.953 kB / 0.5735 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.4166, allocations: 2.438 kB / 0.5735 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4166, allocations: 5.906 kB / 0.5735 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.4167, allocations: 91.05 kB / 0.5736 GB, free: 28.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4167, allocations: 0 / 0.5736 GB, free: 28.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.417, allocations: 78.08 kB / 0.5736 GB, free: 28.39 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002838/0.4173, allocations: 155 kB / 0.5738 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.4176, allocations: 199.5 kB / 0.574 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4176, allocations: 0 / 0.574 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4177, allocations: 160.2 kB / 0.5741 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.4179, allocations: 8.812 kB / 0.5741 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.4182, allocations: 193.8 kB / 0.5743 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4183, allocations: 0.6861 MB / 0.575 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-06/0.4183, allocations: 8.281 kB / 0.575 GB, free: 27.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4183, allocations: 1.031 kB / 0.575 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003699/0.422, allocations: 1.722 MB / 0.5767 GB, free: 27.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)