Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 182.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008618/0.000862, allocations: 92.27 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003163, allocations: 13.91 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006641/0.2151, allocations: 333.2 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002142/0.2153, allocations: 92.41 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.056e-05/0.2153, allocations: 0 / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.2154, allocations: 0 / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.2154, allocations: 0 / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.2156, allocations: 23.91 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.749e-05/0.2156, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.2157, allocations: 4 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.2157, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.2158, allocations: 7.984 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.2158, allocations: 0 / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.2158, allocations: 11.98 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.2158, allocations: 4 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.2159, allocations: 25.7 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.483e-05/0.2159, allocations: 11.97 kB / 0.9006 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2159, allocations: 3.938 kB / 0.9006 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2159, allocations: 4 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.216, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 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.0002444/0.2162, allocations: 319.4 kB / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2162, allocations: 8.031 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.436e-05/0.2163, allocations: 34.56 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.2164, allocations: 11.98 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.377e-05/0.2165, allocations: 168.3 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2165, allocations: 0 / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2165, allocations: 4 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2166, allocations: 41.67 kB / 0.9012 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.2167, allocations: 4 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2167, allocations: 0 / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2167, allocations: 0 / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.2168, allocations: 19.92 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.2169, allocations: 149.7 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.217, allocations: 46.56 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.2171, allocations: 0 / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.2171, allocations: 30.56 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.2171, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001819/0.2173, allocations: 57.77 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2173, allocations: 51.41 kB / 0.9016 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.539e-05/0.2173, allocations: 93.86 kB / 0.9016 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.2173, allocations: 25.7 kB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/0.2174, allocations: 88.14 kB / 0.9018 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2174, allocations: 8.172 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2174, allocations: 0 / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.2174, allocations: 310.8 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.2175, allocations: 7.938 kB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.2175, allocations: 11.98 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.2176, allocations: 8 kB / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2176, allocations: 3.953 kB / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.912e-05/0.2177, allocations: 53.61 kB / 0.9021 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2177, allocations: 8 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2177, allocations: 0 / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.2177, allocations: 3.938 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.2181, allocations: 43.94 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008816/0.219, allocations: 1.314 MB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.219, allocations: 3.938 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.219, allocations: 3.984 kB / 0.9035 GB, free: 60.05 MB / 0.6042 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 5.064e-05/0.2191, allocations: 118 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.2191, allocations: 0 / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.2191, allocations: 7.5 kB / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2191, allocations: 0 / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-07/0.2191, allocations: 0 / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2191, allocations: 3.984 kB / 0.9036 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.239e-05/0.2192, allocations: 153.5 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2192, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.2195, allocations: 55.92 kB / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2195, allocations: 0 / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.2195, allocations: 0 / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007427/0.2203, allocations: 1.31 MB / 0.9051 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2203, allocations: 256 / 0.9051 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.2204, allocations: 81.02 kB / 0.9052 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2204, allocations: 77.11 kB / 0.9052 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.2204, allocations: 7.984 kB / 0.9052 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.2205, allocations: 0 / 0.9052 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.2205, allocations: 7.938 kB / 0.9053 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2205, allocations: 0 / 0.9053 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.422e-05/0.2205, allocations: 79.28 kB / 0.9053 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2205, allocations: 0 / 0.9053 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001813/0.2207, allocations: 4 kB / 0.9053 GB, free: 57.93 MB / 0.6042 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.000287/0.221, allocations: 0.6085 MB / 0.9059 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2214, allocations: 71.84 kB / 0.906 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2214, allocations: 0 / 0.906 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.2217, allocations: 40.14 kB / 0.906 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.807e-05/0.2217, allocations: 1.875 kB / 0.906 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.2221, allocations: 126.7 kB / 0.9062 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.2222, allocations: 0.6809 MB / 0.9068 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.2222, allocations: 0 / 0.9068 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.2223, allocations: 15.44 kB / 0.9068 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2223, allocations: 4 kB / 0.9068 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.234, allocations: 1.051 MB / 0.9079 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.2342, allocations: 238.3 kB / 0.9081 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.365/1.6, allocations: 0 / 0.9081 GB, free: 55.19 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)