Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.54/2.54, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 175.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 92.14 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006435/0.0006437, allocations: 14.62 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2424, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007843/0.2432, allocations: 345.8 kB / 0.9786 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.2453, allocations: 1.424 MB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.2454, allocations: 0 / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.581e-05/0.2455, allocations: 0 / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.2455, allocations: 8 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.2463, allocations: 144.7 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.2464, allocations: 23.92 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.2464, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.2465, allocations: 19.97 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.2466, allocations: 23.84 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2466, allocations: 4 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.247, allocations: 207.7 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.2471, allocations: 11.98 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.2471, allocations: 29.7 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2473, allocations: 143.8 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2474, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2474, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2474, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 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.0003468/0.2477, allocations: 393.2 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2478, allocations: 19.95 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2478, allocations: 30.56 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.2479, allocations: 11.86 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.248, allocations: 175 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.248, allocations: 4 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.248, allocations: 0 / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2482, allocations: 77.59 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2482, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2483, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2483, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.2484, allocations: 39.91 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.2485, allocations: 169.5 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.2486, allocations: 62.55 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2487, allocations: 4.031 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2487, allocations: 34.56 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2487, allocations: 0 / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004608/0.2492, allocations: 264.5 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2492, allocations: 85.09 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.2493, allocations: 113.9 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2493, allocations: 33.7 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.2494, allocations: 80.14 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.2494, allocations: 27.64 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.2494, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2495, allocations: 318.8 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.2496, allocations: 35.97 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.2497, allocations: 35.97 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.201e-05/0.2498, allocations: 61.69 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2498, allocations: 4.031 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002492/0.2501, allocations: 159.8 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.2501, allocations: 33.7 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2501, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2502, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-06/0.2502, allocations: 3.984 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2502, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.2503, allocations: 12 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2504, allocations: 4 kB / 0.9828 GB, free: 23.35 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.2505, allocations: 159.5 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.2505, allocations: 7.906 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.2505, allocations: 8.375 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2506, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2506, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2506, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2507, allocations: 177.5 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2507, allocations: 0 / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.2507, allocations: 0 / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2507, allocations: 7.938 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2508, allocations: 0 / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2508, allocations: 7.984 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2508, allocations: 4 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.2511, allocations: 206.5 kB / 0.9833 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.2511, allocations: 81.05 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.2512, allocations: 4 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.2512, allocations: 7.984 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.2513, allocations: 3.984 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2513, allocations: 8 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.2514, allocations: 95.3 kB / 0.9835 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2514, allocations: 0 / 0.9835 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004315/0.2518, allocations: 67.98 kB / 0.9836 GB, free: 22.42 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007695/0.2526, allocations: 0.8092 MB / 0.9844 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.2529, allocations: 215.3 kB / 0.9846 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.253, allocations: 4 kB / 0.9846 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2531, allocations: 147.4 kB / 0.9847 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2533, allocations: 4 kB / 0.9847 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.2538, allocations: 240.3 kB / 0.985 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.254, allocations: 0.6887 MB / 0.9857 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.462e-06/0.254, allocations: 4.125 kB / 0.9857 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.254, allocations: 11.44 kB / 0.9857 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2541, allocations: 0 / 0.9857 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2786, allocations: 2.771 MB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.2789, allocations: 191.2 kB / 0.9886 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/2.741, allocations: 2.25 kB / 0.9886 GB, free: 17.34 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)