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.388/1.388, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.000981/0.0009812, allocations: 175.9 kB / 325.8 MB, free: 2.707 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.794/1.794, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007244/0.0007245, allocations: 90.28 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004417, allocations: 12.56 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001362/0.2043, allocations: 1.184 MB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000245/0.2046, allocations: 93.34 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.2046, allocations: 0 / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.2047, allocations: 0 / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.2047, allocations: 4 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.2049, allocations: 19.91 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.2049, allocations: 19.98 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.205, allocations: 11.94 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.2051, allocations: 15.92 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.929e-05/0.2051, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2051, allocations: 4 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.737e-05/0.2052, allocations: 15.98 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2052, allocations: 11.92 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.2052, allocations: 3.938 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.054e-05/0.2053, allocations: 35.88 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2053, allocations: 0 / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2053, allocations: 0 / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.2053, allocations: 0 / 0.8976 GB, free: 66.68 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.0003089/0.2056, allocations: 343.6 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2057, allocations: 8.031 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.172e-05/0.2057, allocations: 34.75 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.2058, allocations: 16.83 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.8e-05/0.2059, allocations: 172.3 kB / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2059, allocations: 384 / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.206, allocations: 384 / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.2061, allocations: 74.2 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2061, allocations: 3.938 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.2062, allocations: 3.938 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2062, allocations: 0 / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.2064, allocations: 67.89 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.2067, allocations: 261 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.2068, allocations: 70.48 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.2069, allocations: 36.89 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.2069, allocations: 8 kB / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.207, allocations: 34.5 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.207, allocations: 0 / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.00036/0.2073, allocations: 129.5 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2074, allocations: 51.41 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.2074, allocations: 109.8 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2074, allocations: 25.7 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.2075, allocations: 84.27 kB / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2075, allocations: 7.906 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.2075, allocations: 13.72 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.2076, allocations: 314.8 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.2077, allocations: 27.98 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.2077, allocations: 35.97 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2079, allocations: 72.81 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2079, allocations: 3.938 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.2081, allocations: 93.64 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2082, allocations: 10.59 kB / 0.8996 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2082, allocations: 0 / 0.8996 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2082, allocations: 0 / 0.8996 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.2083, allocations: 15.98 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2083, allocations: 0 / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.2084, allocations: 15.98 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2084, allocations: 4.031 kB / 0.8996 GB, free: 64.34 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 4.163e-05/0.2084, allocations: 113.8 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2085, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.2085, allocations: 7.469 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2085, allocations: 4 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2085, allocations: 0 / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2085, allocations: 0 / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.2086, allocations: 169.5 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2086, allocations: 4 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.2087, allocations: 15.98 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2087, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2087, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2087, allocations: 4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2087, allocations: 3.984 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.209, allocations: 191.5 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.209, allocations: 77.11 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.209, allocations: 3.938 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.2091, allocations: 16.02 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.2091, allocations: 7.984 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2091, allocations: 0 / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.2092, allocations: 87.22 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2092, allocations: 0 / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001891/0.2094, allocations: 4 kB / 0.9003 GB, free: 63.55 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.0003557/0.2097, allocations: 0.724 MB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.2099, allocations: 67.98 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.21, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.2101, allocations: 39.97 kB / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.2103, allocations: 4 kB / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.2107, allocations: 164.9 kB / 0.9013 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.96e-05/0.2108, allocations: 0.6809 MB / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.2108, allocations: 0 / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.2108, allocations: 7.438 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2108, allocations: 0 / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009357/0.2202, allocations: 1.196 MB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.2204, allocations: 217.7 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.687, allocations: 0 / 0.9033 GB, free: 60.45 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)