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.001333/0.001333, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.00136/0.00136, allocations: 187 kB / 17.34 MB, free: 5.742 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 284.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.2 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 104.2 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.396, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001624/0.3977, allocations: 0.6175 MB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3994, allocations: 1.435 MB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.3994, allocations: 0 / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.419e-05/0.3995, allocations: 3.938 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.3996, allocations: 4 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.4003, allocations: 210.2 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.4004, allocations: 39.91 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.4004, allocations: 3.984 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.4005, allocations: 15.98 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.4005, allocations: 23.91 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4006, allocations: 4 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.4009, allocations: 259.6 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.401, allocations: 5.797 kB / 0.7696 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.401, allocations: 15.88 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.4013, allocations: 211.5 kB / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4014, allocations: 0 / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4014, allocations: 0 / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4014, allocations: 0 / 0.7699 GB, free: 1.031 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.0003914/0.4018, allocations: 416.7 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4018, allocations: 8.031 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.4018, allocations: 4.938 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.4019, allocations: 174.8 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.402, allocations: 4.375 kB / 0.7704 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.402, allocations: 384 / 0.7704 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.4021, allocations: 77.97 kB / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.4021, allocations: 0 / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4022, allocations: 0 / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.4022, allocations: 0 / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.4022, allocations: 39.91 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.4024, allocations: 161.6 kB / 0.7707 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.4025, allocations: 66.7 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.4025, allocations: 48.86 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-06/0.4025, allocations: 4 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4026, allocations: 34.5 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.4026, allocations: 0 / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002755/0.4028, allocations: 191.2 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4029, allocations: 89.03 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.403, allocations: 113.9 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.403, allocations: 29.7 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.403, allocations: 84.14 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.4031, allocations: 23.69 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.4031, allocations: 21.72 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.4032, allocations: 318.8 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.4033, allocations: 31.98 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.4033, allocations: 40.45 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.4034, allocations: 148.3 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4035, allocations: 0 / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001632/0.4036, allocations: 151.3 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.4037, allocations: 41.62 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4037, allocations: 0 / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4037, allocations: 0 / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.4037, allocations: 0 / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.4037, allocations: 4 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.4038, allocations: 11.84 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4038, allocations: 7.984 kB / 0.7721 GB, free: 14.47 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.919e-05/0.4039, allocations: 158 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.404, allocations: 7.938 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.136e-05/0.404, allocations: 4.375 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.404, allocations: 3.984 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.404, allocations: 0 / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.404, allocations: 0 / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.4041, allocations: 177.5 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4041, allocations: 0 / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.4041, allocations: 0 / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4041, allocations: 7.938 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4041, allocations: 8 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4041, allocations: 0 / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4041, allocations: 0 / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.4044, allocations: 194.7 kB / 0.7726 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.4044, allocations: 84.95 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4044, allocations: 4 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.4045, allocations: 7.984 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.4045, allocations: 8.031 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4045, allocations: 4 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.4046, allocations: 91.27 kB / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4046, allocations: 0 / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002859/0.4048, allocations: 71.98 kB / 0.7729 GB, free: 13.55 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.0002834/0.4051, allocations: 170.1 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4054, allocations: 199.2 kB / 0.7732 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4054, allocations: 0 / 0.7732 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4055, allocations: 163.3 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.4057, allocations: 10.75 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.4059, allocations: 178.7 kB / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4061, allocations: 0.6807 MB / 0.7742 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-06/0.4061, allocations: 7.438 kB / 0.7743 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.4061, allocations: 0 / 0.7743 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Templates: time 0.003155/0.4093, allocations: 1.729 MB / 0.7759 GB, free: 10.35 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)