Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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 3.113/3.113, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.00149/0.00149, allocations: 183.2 kB / 370.8 MB, free: 10.85 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.059/2.059, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001081/0.00108, allocations: 101 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005528, allocations: 17.09 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2327, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000851/0.2336, allocations: 325.8 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.2339, allocations: 89.55 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.2339, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.234, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.234, allocations: 0 / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.2342, allocations: 19.92 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.2343, allocations: 3.984 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.2343, allocations: 0 / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.2344, allocations: 4 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.2345, allocations: 3.938 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2345, allocations: 8 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.2346, allocations: 11.98 kB / 0.9787 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.2346, allocations: 0 / 0.9787 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.2346, allocations: 25.7 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.284e-05/0.2347, allocations: 7.984 kB / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2347, allocations: 0 / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2347, allocations: 3.938 kB / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2347, allocations: 0 / 0.9788 GB, free: 27.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003033/0.235, allocations: 323.4 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2351, allocations: 12.02 kB / 0.9791 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.2351, allocations: 34.56 kB / 0.9791 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.2353, allocations: 7.984 kB / 0.9791 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.212e-05/0.2354, allocations: 163 kB / 0.9793 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2355, allocations: 4 kB / 0.9793 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2355, allocations: 0 / 0.9793 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2356, allocations: 37.69 kB / 0.9793 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2357, allocations: 0 / 0.9793 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2357, allocations: 0 / 0.9793 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2357, allocations: 4 kB / 0.9793 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2358, allocations: 15.92 kB / 0.9793 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.236, allocations: 165.8 kB / 0.9795 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2362, allocations: 46.58 kB / 0.9795 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.2362, allocations: 4.062 kB / 0.9796 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.2363, allocations: 34.56 kB / 0.9796 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2363, allocations: 0 / 0.9796 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002724/0.2366, allocations: 61.61 kB / 0.9796 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2366, allocations: 51.41 kB / 0.9797 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.122e-05/0.2367, allocations: 89.86 kB / 0.9798 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2367, allocations: 25.7 kB / 0.9798 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.2367, allocations: 80.14 kB / 0.9799 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2368, allocations: 15.84 kB / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.2368, allocations: 7.938 kB / 0.9799 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.136e-05/0.2368, allocations: 310.8 kB / 0.9802 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.2369, allocations: 7.984 kB / 0.9802 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.237, allocations: 8 kB / 0.9802 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.237, allocations: 7.984 kB / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2371, allocations: 3.953 kB / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001519/0.2372, allocations: 49.62 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2373, allocations: 5.719 kB / 0.9803 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2373, allocations: 4 kB / 0.9803 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2373, allocations: 0 / 0.9803 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.2379, allocations: 43.92 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.2394, allocations: 1.314 MB / 0.9816 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.2394, allocations: 8.031 kB / 0.9816 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2394, allocations: 0 / 0.9816 GB, free: 24.52 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.2395, allocations: 113.8 kB / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.2396, allocations: 4 kB / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.2396, allocations: 7.5 kB / 0.9817 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2396, allocations: 0 / 0.9817 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2396, allocations: 0 / 0.9817 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2396, allocations: 4.094 kB / 0.9817 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.2397, allocations: 153.6 kB / 0.9819 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2397, allocations: 0 / 0.9819 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.2404, allocations: 40.27 kB / 0.9819 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2404, allocations: 4 kB / 0.9819 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2404, allocations: 7.984 kB / 0.9819 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.2417, allocations: 1.314 MB / 0.9832 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2417, allocations: 3.984 kB / 0.9832 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.2419, allocations: 73.09 kB / 0.9833 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.242, allocations: 85.3 kB / 0.9834 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.242, allocations: 0 / 0.9834 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.242, allocations: 7.938 kB / 0.9834 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.2421, allocations: 3.984 kB / 0.9834 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2421, allocations: 4 kB / 0.9834 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.844e-05/0.2421, allocations: 79.28 kB / 0.9835 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2421, allocations: 0 / 0.9835 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002716/0.2424, allocations: 4 kB / 0.9835 GB, free: 22.39 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/0.2428, allocations: 0.6124 MB / 0.9841 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007306/0.2435, allocations: 63.86 kB / 0.9841 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2435, allocations: 0 / 0.9841 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.244, allocations: 39.89 kB / 0.9842 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.2441, allocations: 3.938 kB / 0.9842 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.2446, allocations: 124.6 kB / 0.9843 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2447, allocations: 0.677 MB / 0.9849 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.2448, allocations: 4 kB / 0.985 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.2448, allocations: 11.42 kB / 0.985 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.2448, allocations: 0 / 0.985 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.2657, allocations: 1.064 MB / 0.986 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.266, allocations: 218.8 kB / 0.9862 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.574, allocations: 4 kB / 0.9862 GB, free: 19.64 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)