Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.355/1.355, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009415/0.0009415, allocations: 168.9 kB / 327 MB, free: 2.113 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.682/1.682, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.0007912/0.0007912, allocations: 91.42 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003014, allocations: 11.53 kB / 0.7971 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2033, allocations: 106.3 MB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001532/0.2049, allocations: 1.176 MB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.2053, allocations: 92.59 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.2053, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.2053, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.2054, allocations: 3.938 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.2056, allocations: 11.98 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.2056, allocations: 27.92 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.2057, allocations: 4 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.2058, allocations: 7.938 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.2058, allocations: 19.91 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2058, allocations: 0 / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.2059, allocations: 15.98 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2059, allocations: 4 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.206, allocations: 37.62 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.2061, allocations: 31.89 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2061, allocations: 0 / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2061, allocations: 0 / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2061, allocations: 4 kB / 0.9023 GB, free: 62.15 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.0003748/0.2065, allocations: 343.8 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2065, allocations: 11.97 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.2066, allocations: 30.75 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.2067, allocations: 20.83 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.2068, allocations: 164.4 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2069, allocations: 12.38 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2069, allocations: 384 / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2071, allocations: 66.16 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2071, allocations: 3.938 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2071, allocations: 8 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2071, allocations: 0 / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2073, allocations: 59.95 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.2077, allocations: 268.9 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2078, allocations: 66.42 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2079, allocations: 40.89 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.208, allocations: 0 / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.208, allocations: 34.56 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.208, allocations: 0 / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003976/0.2084, allocations: 125.5 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.2084, allocations: 51.41 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.2085, allocations: 110 kB / 0.9037 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.2085, allocations: 25.7 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.2086, allocations: 88.14 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2086, allocations: 3.906 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.2086, allocations: 3.938 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.2087, allocations: 318.8 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2088, allocations: 31.98 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.2089, allocations: 31.97 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2091, allocations: 68.88 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2091, allocations: 3.938 kB / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/0.2093, allocations: 93.66 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2093, allocations: 8 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2093, allocations: 3.984 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2093, allocations: 0 / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2095, allocations: 12 kB / 0.9043 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2095, allocations: 7.922 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.2095, allocations: 12.03 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2095, allocations: 0 / 0.9043 GB, free: 59.83 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.2096, allocations: 113.8 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2096, allocations: 4 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.2097, allocations: 7.531 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2097, allocations: 0 / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2097, allocations: 0 / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2097, allocations: 3.938 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2098, allocations: 173.5 kB / 0.9046 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2098, allocations: 0 / 0.9046 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.2099, allocations: 15.98 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2099, allocations: 0 / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2099, allocations: 4 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2099, allocations: 0 / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2099, allocations: 0 / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.2102, allocations: 195.4 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.2102, allocations: 84.98 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2102, allocations: 288 / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.2103, allocations: 19.98 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.2104, allocations: 0 / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2104, allocations: 4 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.2104, allocations: 87.27 kB / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2104, allocations: 0 / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002051/0.2106, allocations: 4 kB / 0.905 GB, free: 59.04 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/0.211, allocations: 0.7357 MB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.2113, allocations: 63.89 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2113, allocations: 4.062 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2114, allocations: 35.97 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2117, allocations: 3.984 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.2121, allocations: 158.4 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2122, allocations: 0.677 MB / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.288e-05/0.2123, allocations: 0 / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.2123, allocations: 15.44 kB / 0.9067 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2123, allocations: 0 / 0.9067 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.223, allocations: 1.202 MB / 0.9079 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.2232, allocations: 209.1 kB / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.786, allocations: 3.938 kB / 0.9081 GB, free: 55.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)