Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.447/1.447, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0009856/0.0009856, allocations: 177.3 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.00101/0.00101, allocations: 90.36 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 14.84 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008084/0.2459, allocations: 331.8 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.2462, allocations: 83.8 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.2463, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.2463, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.2464, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.2466, allocations: 19.97 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.2467, allocations: 7.938 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.2468, allocations: 0 / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.2468, allocations: 4 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2469, allocations: 7.984 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.247, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.2471, allocations: 11.98 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2471, allocations: 0 / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.2471, allocations: 41.62 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.821e-05/0.2473, allocations: 7.984 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2473, allocations: 0 / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.846e-06/0.2473, allocations: 4 kB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2473, allocations: 3.938 kB / 0.9807 GB, free: 26.72 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.0003545/0.2477, allocations: 315.6 kB / 0.981 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.2477, allocations: 8.031 kB / 0.981 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.2478, allocations: 34.75 kB / 0.981 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.2479, allocations: 12.92 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.248, allocations: 164.4 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2481, allocations: 384 / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.2481, allocations: 4.375 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2482, allocations: 38.25 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2483, allocations: 7.938 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2483, allocations: 0 / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2483, allocations: 4 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2484, allocations: 15.92 kB / 0.9813 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.2486, allocations: 153.9 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.2488, allocations: 50.55 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.2488, allocations: 16.91 kB / 0.9815 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2489, allocations: 0 / 0.9815 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2489, allocations: 30.56 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2489, allocations: 0 / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002271/0.2491, allocations: 69.45 kB / 0.9816 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2492, allocations: 51.41 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.88e-05/0.2492, allocations: 89.86 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2492, allocations: 29.7 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.2493, allocations: 84.14 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.2493, allocations: 3.906 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.2493, allocations: 0 / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.144e-05/0.2494, allocations: 310.8 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.2494, allocations: 11.98 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.2494, allocations: 8 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.2495, allocations: 20.84 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2495, allocations: 0 / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/0.2496, allocations: 57.61 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2497, allocations: 4 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2497, allocations: 3.938 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2497, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.2501, allocations: 43.94 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2512, allocations: 1.306 MB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.2513, allocations: 8.016 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2513, allocations: 4.062 kB / 0.9836 GB, free: 23.44 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 9.593e-05/0.2514, allocations: 121.8 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.2514, allocations: 4 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.2514, allocations: 3.5 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2514, allocations: 336 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2515, allocations: 0 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2515, allocations: 0 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.601e-05/0.2516, allocations: 157.6 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2516, allocations: 3.984 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.252, allocations: 51.92 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.252, allocations: 0 / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.252, allocations: 0 / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009161/0.2529, allocations: 1.31 MB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.253, allocations: 4.031 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2531, allocations: 77.05 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.2531, allocations: 77.11 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.2531, allocations: 0 / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.2531, allocations: 4 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.2532, allocations: 3.938 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2532, allocations: 4.062 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.217e-05/0.2532, allocations: 79.27 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2532, allocations: 0 / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001882/0.2534, allocations: 7.938 kB / 0.9854 GB, free: 21.31 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.0003444/0.2538, allocations: 0.6047 MB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.2542, allocations: 63.84 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2542, allocations: 0 / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.2545, allocations: 47.94 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.2546, allocations: 0 / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.2551, allocations: 128.5 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2552, allocations: 0.677 MB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.2552, allocations: 4.281 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.2553, allocations: 11.44 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2553, allocations: 0 / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/0.395, allocations: 1.049 MB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.3952, allocations: 222.4 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.072, allocations: 0 / 0.9881 GB, free: 18.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)