Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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.0009196/0.0009197, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001105/0.001105, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.931/1.931, allocations: 292.7 MB / 0.5499 GB, free: 14.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005471, allocations: 16.91 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2881, allocations: 116.3 MB / 0.7874 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008418/0.289, allocations: 331.5 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.2894, allocations: 91.73 kB / 0.7878 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.2895, allocations: 0 / 0.7878 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.2895, allocations: 7.938 kB / 0.7878 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.2896, allocations: 0 / 0.7878 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.2898, allocations: 15.97 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.2899, allocations: 0 / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.29, allocations: 4 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.29, allocations: 0 / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.2901, allocations: 7.938 kB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2901, allocations: 4 kB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.2902, allocations: 15.98 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.2902, allocations: 0 / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.2902, allocations: 29.69 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.446e-05/0.2903, allocations: 7.984 kB / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2903, allocations: 0 / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2903, allocations: 0 / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2903, allocations: 0 / 0.7879 GB, free: 11.28 MB / 0.6075 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.0003564/0.2907, allocations: 319.4 kB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.2908, allocations: 12.03 kB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.2908, allocations: 34.56 kB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.291, allocations: 7.984 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2911, allocations: 163 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.2912, allocations: 3.984 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2912, allocations: 4 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2913, allocations: 41.62 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2913, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2913, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2914, allocations: 4 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.2914, allocations: 11.98 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.2916, allocations: 157.9 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2918, allocations: 42.59 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.2919, allocations: 24.83 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.2919, allocations: 7.938 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2919, allocations: 34.56 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2919, allocations: 0 / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.2922, allocations: 57.59 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2922, allocations: 55.39 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.902e-05/0.2923, allocations: 89.86 kB / 0.7889 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2923, allocations: 25.7 kB / 0.7889 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.2923, allocations: 84.14 kB / 0.789 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.2924, allocations: 3.906 kB / 0.789 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.2924, allocations: 0 / 0.789 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2925, allocations: 318.8 kB / 0.7893 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.2926, allocations: 7.984 kB / 0.7893 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.2926, allocations: 11.88 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.2926, allocations: 11.98 kB / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2927, allocations: 0 / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001175/0.2928, allocations: 53.64 kB / 0.7894 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2928, allocations: 6.969 kB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2928, allocations: 0 / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2928, allocations: 0 / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.2932, allocations: 39.94 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2944, allocations: 1.317 MB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.2945, allocations: 0 / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2945, allocations: 0 / 0.7907 GB, free: 8 MB / 0.6075 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 8.898e-05/0.2946, allocations: 113.8 kB / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.2946, allocations: 0 / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.2946, allocations: 7.5 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2946, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2946, allocations: 4.094 kB / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2947, allocations: 3.984 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.2948, allocations: 149.7 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2948, allocations: 3.953 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.2951, allocations: 47.92 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2951, allocations: 4.328 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2951, allocations: 0 / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.2963, allocations: 1.31 MB / 0.7923 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2963, allocations: 3.938 kB / 0.7924 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2965, allocations: 77.08 kB / 0.7924 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.2965, allocations: 85.16 kB / 0.7925 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.2965, allocations: 0 / 0.7925 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.2966, allocations: 4 kB / 0.7925 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.2966, allocations: 3.984 kB / 0.7925 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2966, allocations: 4 kB / 0.7925 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.2966, allocations: 75.28 kB / 0.7926 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2966, allocations: 0 / 0.7926 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001905/0.2968, allocations: 4 kB / 0.7926 GB, free: 5.883 MB / 0.6075 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.000423/0.2973, allocations: 0.6163 MB / 0.7932 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.2977, allocations: 59.92 kB / 0.7933 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2977, allocations: 0 / 0.7933 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.2979, allocations: 35.95 kB / 0.7933 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.2981, allocations: 4 kB / 0.7933 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.2985, allocations: 135.2 kB / 0.7934 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2988, allocations: 0.6731 MB / 0.7941 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.2988, allocations: 4 kB / 0.7941 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.2989, allocations: 15.42 kB / 0.7941 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of SimCode: time 1.773e-06/0.2989, allocations: 0 / 0.7941 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.3136, allocations: 1.068 MB / 0.7951 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.3139, allocations: 235 kB / 0.7954 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.098, allocations: 0 / 0.7954 GB, free: 3.109 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: