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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004827/0.004827, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001025/0.001025, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.268/1.268, allocations: 222.9 MB / 240.4 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.002078/0.002078, allocations: 292.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8921/0.8921, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 99.84 kB / 0.681 GB, free: 7.426 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4413, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00163/0.443, allocations: 0.6172 MB / 0.7665 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.4449, allocations: 1.435 MB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.445, allocations: 0 / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.996e-05/0.445, allocations: 3.938 kB / 0.768 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.4451, allocations: 8 kB / 0.768 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.446, allocations: 210.3 kB / 0.7682 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4461, allocations: 39.86 kB / 0.7682 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.4462, allocations: 7.984 kB / 0.7682 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.4462, allocations: 8 kB / 0.7682 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.4463, allocations: 31.89 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.4463, allocations: 0 / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.4467, allocations: 251.6 kB / 0.7685 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.4468, allocations: 13.72 kB / 0.7685 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.4468, allocations: 11.94 kB / 0.7685 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.4472, allocations: 215.5 kB / 0.7687 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4473, allocations: 4 kB / 0.7687 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4473, allocations: 0 / 0.7687 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4473, allocations: 0 / 0.7687 GB, free: 1.008 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.0004841/0.4478, allocations: 401 kB / 0.7691 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4478, allocations: 8.031 kB / 0.7691 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.4479, allocations: 38.73 kB / 0.7691 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.4479, allocations: 8.938 kB / 0.7692 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.448, allocations: 176.2 kB / 0.7693 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4481, allocations: 384 / 0.7693 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4481, allocations: 4.375 kB / 0.7693 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.4482, allocations: 73.78 kB / 0.7694 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4483, allocations: 0 / 0.7694 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4483, allocations: 4 kB / 0.7694 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4483, allocations: 0 / 0.7694 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.4483, allocations: 35.97 kB / 0.7694 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.4485, allocations: 169.6 kB / 0.7696 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.4486, allocations: 62.48 kB / 0.7697 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.4487, allocations: 48.88 kB / 0.7697 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.4487, allocations: 0 / 0.7697 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4487, allocations: 42.48 kB / 0.7697 GB, free: 15.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.4487, allocations: 0 / 0.7697 GB, free: 15.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003215/0.4491, allocations: 187.2 kB / 0.7699 GB, free: 15.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4491, allocations: 89.14 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.4492, allocations: 113.8 kB / 0.7701 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.4492, allocations: 29.7 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.4493, allocations: 84.14 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.4493, allocations: 19.7 kB / 0.7702 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.4494, allocations: 21.72 kB / 0.7703 GB, free: 15.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.4495, allocations: 314.8 kB / 0.7706 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.4495, allocations: 35.97 kB / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/0.4496, allocations: 40.53 kB / 0.7706 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.4497, allocations: 144.3 kB / 0.7708 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4497, allocations: 3.938 kB / 0.7708 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001782/0.4499, allocations: 159.3 kB / 0.7709 GB, free: 14.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.45, allocations: 41.69 kB / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.45, allocations: 0 / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.45, allocations: 0 / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.45, allocations: 0 / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.45, allocations: 0 / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4501, allocations: 15.92 kB / 0.771 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.4502, allocations: 8.062 kB / 0.771 GB, free: 14.4 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.125e-05/0.4503, allocations: 149.9 kB / 0.7711 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.4503, allocations: 7.938 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.4503, allocations: 8.375 kB / 0.7712 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.4503, allocations: 0 / 0.7712 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4503, allocations: 4 kB / 0.7712 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4503, allocations: 0 / 0.7712 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.4504, allocations: 169.5 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4504, allocations: 0 / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-06/0.4505, allocations: 11.94 kB / 0.7713 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4505, allocations: 0 / 0.7713 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4505, allocations: 0 / 0.7713 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4505, allocations: 4 kB / 0.7713 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4505, allocations: 0 / 0.7713 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.4507, allocations: 194.7 kB / 0.7715 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.4507, allocations: 88.94 kB / 0.7716 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.4508, allocations: 4 kB / 0.7716 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.4508, allocations: 8.031 kB / 0.7716 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.4508, allocations: 8 kB / 0.7716 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.4509, allocations: 15.91 kB / 0.7716 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.4509, allocations: 91.27 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4509, allocations: 0 / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003239/0.4512, allocations: 68 kB / 0.7718 GB, free: 13.48 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.000696/0.4519, allocations: 0.7936 MB / 0.7726 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.4522, allocations: 203.2 kB / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4522, allocations: 0 / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.4523, allocations: 151.3 kB / 0.7729 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.4525, allocations: 9.312 kB / 0.7729 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.453, allocations: 210.7 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4532, allocations: 0.6846 MB / 0.7738 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.48e-06/0.4532, allocations: 4.125 kB / 0.7738 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.4533, allocations: 23.36 kB / 0.7738 GB, free: 11.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4533, allocations: 0 / 0.7738 GB, free: 11.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.4729, allocations: 3.114 MB / 0.7768 GB, free: 8.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.628, allocations: 8.25 kB / 0.7769 GB, free: 8.324 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)