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.664/2.664, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.00137/0.00137, allocations: 178.1 kB / 371 MB, free: 10.87 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.174/2.174, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009508/0.0009507, allocations: 87.64 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006719/0.0006723, allocations: 13.5 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2516, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007801/0.2524, allocations: 343.6 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2545, allocations: 1.43 MB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.2546, allocations: 4 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.2547, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.2547, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.2556, allocations: 164.9 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.2556, allocations: 19.98 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.2557, allocations: 7.984 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.2557, allocations: 15.94 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.2558, allocations: 23.95 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2558, allocations: 4 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.2563, allocations: 219.6 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.2563, allocations: 7.984 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.2564, allocations: 37.64 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2566, allocations: 139.8 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2567, allocations: 7.938 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2567, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2567, allocations: 0 / 0.9808 GB, free: 25.83 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.0004558/0.2571, allocations: 389.2 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2572, allocations: 20 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.2573, allocations: 30.56 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.2573, allocations: 11.86 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.2574, allocations: 171 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2574, allocations: 4 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2575, allocations: 3.938 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2577, allocations: 77.59 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2577, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2577, allocations: 4 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2577, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.2578, allocations: 35.97 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.258, allocations: 169.5 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2581, allocations: 74.58 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.2582, allocations: 48.83 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.2582, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2583, allocations: 38.5 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2583, allocations: 0 / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.2587, allocations: 179.3 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2587, allocations: 81.11 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.2588, allocations: 113.9 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2589, allocations: 29.7 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.2589, allocations: 84.14 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.2589, allocations: 27.64 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.259, allocations: 0 / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.259, allocations: 318.8 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.2591, allocations: 35.97 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.2592, allocations: 36.12 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.2593, allocations: 81.56 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2593, allocations: 0 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002494/0.2596, allocations: 151.2 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.2596, allocations: 37.69 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2597, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.2597, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.2597, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2597, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2598, allocations: 15.97 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.2599, allocations: 4 kB / 0.983 GB, free: 23.34 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.0001075/0.26, allocations: 155.5 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.26, allocations: 7.906 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.2601, allocations: 8.375 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2601, allocations: 0 / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2601, allocations: 0 / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2601, allocations: 0 / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2602, allocations: 169.6 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2602, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.2602, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2602, allocations: 4 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2603, allocations: 11.94 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2603, allocations: 3.938 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2603, allocations: 4 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.2606, allocations: 199.2 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.2607, allocations: 81.05 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2607, allocations: 4 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.2608, allocations: 7.984 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2608, allocations: 0 / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2608, allocations: 12.03 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.2609, allocations: 95.25 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2609, allocations: 0 / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000421/0.2613, allocations: 67.98 kB / 0.9838 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.0008874/0.2622, allocations: 0.8013 MB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.2626, allocations: 203.3 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2626, allocations: 0 / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2628, allocations: 147.4 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.263, allocations: 11.92 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.2636, allocations: 228.3 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2637, allocations: 0.6889 MB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.372e-06/0.2637, allocations: 3.938 kB / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.2638, allocations: 11.44 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2638, allocations: 0 / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2923, allocations: 2.851 MB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.2926, allocations: 200.8 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/2.798, allocations: 0 / 0.9888 GB, free: 17.3 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)