Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001019/0.001019, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.0009772/0.0009773, allocations: 187 kB / 17.34 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002039, allocations: 289.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9094/0.9094, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 95.86 kB / 0.6822 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4491, allocations: 86.98 MB / 0.7671 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001693/0.4508, allocations: 0.6089 MB / 0.7677 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.4526, allocations: 1.439 MB / 0.7691 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.4526, allocations: 0 / 0.7691 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.884e-05/0.4527, allocations: 4 kB / 0.7691 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.4528, allocations: 3.938 kB / 0.7691 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.4535, allocations: 209.7 kB / 0.7693 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.4536, allocations: 39.84 kB / 0.7693 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.4536, allocations: 7.984 kB / 0.7693 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.4537, allocations: 8 kB / 0.7694 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.4538, allocations: 31.89 kB / 0.7694 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4538, allocations: 4 kB / 0.7694 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.4542, allocations: 247.7 kB / 0.7696 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.4542, allocations: 13.72 kB / 0.7696 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.4543, allocations: 15.88 kB / 0.7697 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.4546, allocations: 219.5 kB / 0.7699 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4546, allocations: 0 / 0.7699 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4546, allocations: 0 / 0.7699 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4546, allocations: 0 / 0.7699 GB, free: 1.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003776/0.455, allocations: 400.9 kB / 0.7702 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4551, allocations: 16.03 kB / 0.7703 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.4551, allocations: 4.938 kB / 0.7703 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4552, allocations: 170.8 kB / 0.7704 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4552, allocations: 8.375 kB / 0.7704 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.4552, allocations: 384 / 0.7704 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.4554, allocations: 81.89 kB / 0.7705 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4554, allocations: 4 kB / 0.7705 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4554, allocations: 0 / 0.7705 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4554, allocations: 0 / 0.7705 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.4555, allocations: 31.97 kB / 0.7705 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.4557, allocations: 165.7 kB / 0.7707 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.4557, allocations: 58.55 kB / 0.7708 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.4558, allocations: 52.86 kB / 0.7708 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.4558, allocations: 4 kB / 0.7708 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4559, allocations: 38.44 kB / 0.7709 GB, free: 48 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.4559, allocations: 0 / 0.7709 GB, free: 48 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.000308/0.4562, allocations: 187.5 kB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4562, allocations: 85.09 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.4563, allocations: 117.8 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4563, allocations: 29.7 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.4564, allocations: 80.14 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.4564, allocations: 23.66 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.4565, allocations: 25.7 kB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.4566, allocations: 310.8 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.4566, allocations: 40 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.4567, allocations: 43.91 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4568, allocations: 144.1 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4568, allocations: 0 / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001722/0.457, allocations: 147.5 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.4571, allocations: 45.62 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4571, allocations: 0 / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4571, allocations: 0 / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.4571, allocations: 4 kB / 0.7721 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4571, allocations: 4 kB / 0.7721 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4573, allocations: 15.91 kB / 0.7721 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.4573, allocations: 7.984 kB / 0.7721 GB, free: 14.66 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): 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 9.147e-05/0.4574, allocations: 153.9 kB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.4574, allocations: 11.94 kB / 0.7723 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.4574, allocations: 4.375 kB / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.4574, allocations: 0 / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.4574, allocations: 0 / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4574, allocations: 0 / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.4576, allocations: 169.5 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4576, allocations: 11.94 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4576, allocations: 0 / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4576, allocations: 3.938 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4576, allocations: 4 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4576, allocations: 0 / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4576, allocations: 0 / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.4578, allocations: 190.8 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.4579, allocations: 84.95 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.4579, allocations: 8.031 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.458, allocations: 7.984 kB / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.458, allocations: 4 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.458, allocations: 8 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.458, allocations: 87.27 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.458, allocations: 0 / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002931/0.4583, allocations: 75.98 kB / 0.7729 GB, free: 13.75 MB / 0.545 GB 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.0003167/0.4587, allocations: 167.1 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.4589, allocations: 203.9 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4589, allocations: 0 / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.4591, allocations: 155.3 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.4592, allocations: 5.125 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.4595, allocations: 182.7 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.4597, allocations: 0.6846 MB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.004e-05/0.4598, allocations: 7.438 kB / 0.7743 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.4598, allocations: 0 / 0.7743 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003372/0.4631, allocations: 1.723 MB / 0.7759 GB, free: 10.55 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)