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 1.817/1.817, allocations: 287.4 MB / 302.6 MB, free: 8.27 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.001102/0.001102, allocations: 178 kB / 371.1 MB, free: 10.84 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.622/1.622, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.000887/0.0008874, allocations: 105.8 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004027, allocations: 14.25 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007709/0.1977, allocations: 327.6 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003/0.1981, allocations: 83.78 kB / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.1981, allocations: 0 / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1982, allocations: 3.938 kB / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.1982, allocations: 0 / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1985, allocations: 15.98 kB / 0.9792 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.1986, allocations: 7.984 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.1986, allocations: 4 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.1986, allocations: 7.938 kB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1987, allocations: 4 kB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1988, allocations: 0 / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.1988, allocations: 11.98 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-06/0.1989, allocations: 0 / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1989, allocations: 25.7 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.373e-05/0.199, allocations: 15.97 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.199, allocations: 0 / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.199, allocations: 4 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.199, allocations: 4 kB / 0.9792 GB, free: 27.58 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.0003436/0.1994, allocations: 319.6 kB / 0.9795 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.1994, allocations: 8.031 kB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.1995, allocations: 34.75 kB / 0.9796 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1997, allocations: 8.922 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.437e-05/0.1998, allocations: 168.3 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.1998, allocations: 8.312 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1998, allocations: 384 / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.2, allocations: 38.25 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2, allocations: 3.938 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2, allocations: 0 / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2, allocations: 4 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.2001, allocations: 15.97 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.2003, allocations: 153.9 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2004, allocations: 50.53 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.2005, allocations: 8.922 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2005, allocations: 4 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.2005, allocations: 30.56 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2005, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002037/0.2007, allocations: 61.66 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.2008, allocations: 59.34 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.021e-05/0.2008, allocations: 89.86 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.2008, allocations: 25.7 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.471e-05/0.2008, allocations: 84.14 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.2009, allocations: 11.89 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.2009, allocations: 0 / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.2009, allocations: 310.8 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.201, allocations: 4 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.201, allocations: 19.95 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.2011, allocations: 24.84 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2011, allocations: 0 / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.674e-05/0.2012, allocations: 45.69 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2012, allocations: 8 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2013, allocations: 3.938 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2013, allocations: 3.938 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.2017, allocations: 47.92 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.2027, allocations: 1.298 MB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.2027, allocations: 4.031 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.2027, allocations: 0 / 0.9821 GB, free: 24.3 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.242e-05/0.2028, allocations: 123.1 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.2028, allocations: 0 / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.2029, allocations: 11.5 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2029, allocations: 7.922 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2029, allocations: 0 / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2029, allocations: 0 / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.253e-05/0.203, allocations: 153.6 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.203, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.2033, allocations: 47.92 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2033, allocations: 8 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2033, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007851/0.2041, allocations: 1.306 MB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2041, allocations: 4.156 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.2042, allocations: 81.08 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.2043, allocations: 77.11 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.2043, allocations: 0 / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.2043, allocations: 3.984 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.2043, allocations: 4 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.2043, allocations: 0 / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.378e-05/0.2044, allocations: 79.28 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2044, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000172/0.2045, allocations: 7.938 kB / 0.9839 GB, free: 22.17 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.0003063/0.2048, allocations: 0.6085 MB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.2053, allocations: 63.91 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2053, allocations: 0 / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.2055, allocations: 35.91 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.2056, allocations: 11.98 kB / 0.9846 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.206, allocations: 132.4 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2062, allocations: 0.6731 MB / 0.9854 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.2062, allocations: 0 / 0.9854 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.2062, allocations: 15.42 kB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2063, allocations: 0 / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.2174, allocations: 1.032 MB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/0.2175, allocations: 215.2 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/1.726, allocations: 6.812 kB / 0.9867 GB, free: 19.44 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)