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.384/1.384, allocations: 252 MB / 267.3 MB, free: 10.84 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.001337/0.001337, allocations: 170.7 kB / 327 MB, free: 2.09 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.585/1.585, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0008601/0.0008598, allocations: 100.2 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 14.81 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006982/0.1931, allocations: 346 kB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.1934, allocations: 97.02 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.08e-05/0.1935, allocations: 0 / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.1935, allocations: 0 / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.1935, allocations: 0 / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1937, allocations: 11.98 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.169e-05/0.1938, allocations: 8 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.1938, allocations: 0 / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.1938, allocations: 7.984 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.1939, allocations: 3.984 kB / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1939, allocations: 8 kB / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.194, allocations: 11.98 kB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.194, allocations: 3.938 kB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1941, allocations: 33.64 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.557e-05/0.1941, allocations: 11.98 kB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1941, allocations: 0 / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1942, allocations: 0 / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.1942, allocations: 0 / 0.9014 GB, free: 62.7 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.0002408/0.1944, allocations: 315.6 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1945, allocations: 16.03 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.1945, allocations: 30.75 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.1946, allocations: 8.922 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.41e-05/0.1947, allocations: 164.4 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1947, allocations: 384 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1947, allocations: 8.375 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1949, allocations: 38.19 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1949, allocations: 7.875 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1949, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1949, allocations: 4 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.195, allocations: 23.91 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.1951, allocations: 153.7 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1952, allocations: 38.59 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.1953, allocations: 12.92 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1953, allocations: 8 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.1953, allocations: 30.56 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1953, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001817/0.1955, allocations: 61.73 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1956, allocations: 51.41 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.667e-05/0.1956, allocations: 89.86 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.1956, allocations: 25.7 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-06/0.1956, allocations: 84.14 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.1956, allocations: 16.17 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1957, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.1957, allocations: 310.8 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.1957, allocations: 4 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.1958, allocations: 15.97 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.761e-05/0.1959, allocations: 20.84 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1959, allocations: 0 / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.012e-05/0.196, allocations: 53.62 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.196, allocations: 8 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.196, allocations: 3.938 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.196, allocations: 0 / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.1964, allocations: 43.92 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/0.1973, allocations: 1.313 MB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.1973, allocations: 7.969 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1973, allocations: 0 / 0.9043 GB, free: 59.4 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.1974, allocations: 109.8 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.1974, allocations: 4 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.1974, allocations: 11.59 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1974, allocations: 3.984 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.42e-07/0.1974, allocations: 0 / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1974, allocations: 0 / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.411e-05/0.1975, allocations: 161.5 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1975, allocations: 0 / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.1979, allocations: 47.92 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1979, allocations: 4 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1979, allocations: 0 / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007616/0.1987, allocations: 1.31 MB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1987, allocations: 8.016 kB / 0.9059 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1988, allocations: 85.03 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.1988, allocations: 77.11 kB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-06/0.1988, allocations: 0 / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.609e-05/0.1989, allocations: 7.984 kB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1989, allocations: 0 / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1989, allocations: 0 / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.1989, allocations: 75.28 kB / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 0 / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001707/0.1991, allocations: 7.938 kB / 0.9062 GB, free: 57.27 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003001/0.1994, allocations: 0.6098 MB / 0.9068 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.1999, allocations: 67.84 kB / 0.9068 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1999, allocations: 0 / 0.9068 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.2001, allocations: 31.97 kB / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.2002, allocations: 7.984 kB / 0.9069 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.2006, allocations: 127.2 kB / 0.907 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.2007, allocations: 0.677 MB / 0.9076 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.2008, allocations: 4 kB / 0.9076 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.2008, allocations: 11.42 kB / 0.9077 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2008, allocations: 0 / 0.9077 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.212, allocations: 1.079 MB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.2122, allocations: 247.6 kB / 0.9089 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.724, allocations: 0 / 0.9089 GB, free: 54.51 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)