Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.744/2.744, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 182.8 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.652/2.652, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 102.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006533, allocations: 14.7 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2318, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001797/0.2336, allocations: 1.163 MB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.2339, allocations: 85.81 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.234, allocations: 0 / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.234, allocations: 3.938 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.2341, allocations: 3.984 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2343, allocations: 11.98 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.2343, allocations: 15.98 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.2344, allocations: 7.984 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.2345, allocations: 11.92 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.2346, allocations: 12 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2346, allocations: 0 / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.2346, allocations: 11.98 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.2347, allocations: 11.92 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.2347, allocations: 25.7 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8e-05/0.2348, allocations: 23.97 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2348, allocations: 0 / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2348, allocations: 0 / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2348, allocations: 0 / 0.9002 GB, free: 64.07 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.0004496/0.2353, allocations: 339.3 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2353, allocations: 12.03 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.2356, allocations: 15.89 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.2357, allocations: 175.2 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2357, allocations: 7.984 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2357, allocations: 0 / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.236, allocations: 73.59 kB / 0.9008 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.236, allocations: 0 / 0.9008 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2361, allocations: 0 / 0.9008 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2361, allocations: 0 / 0.9008 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.2364, allocations: 63.95 kB / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.2369, allocations: 268.9 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.2372, allocations: 62.55 kB / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2372, allocations: 0 / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2373, allocations: 38.56 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.2373, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.00066/0.2379, allocations: 117.6 kB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.238, allocations: 67.45 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.2381, allocations: 105.8 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2381, allocations: 25.7 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.2382, allocations: 88.12 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2382, allocations: 3.906 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2382, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.2383, allocations: 314.8 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.2385, allocations: 35.97 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2387, allocations: 31.92 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2388, allocations: 32.03 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2389, allocations: 0 / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000404/0.2393, allocations: 97.56 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2393, allocations: 8 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2393, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2394, allocations: 3.984 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2395, allocations: 8 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2395, allocations: 7.984 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2397, allocations: 8 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.2397, allocations: 7.984 kB / 0.9022 GB, free: 61.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.2398, allocations: 113.8 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.2398, allocations: 4 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.2398, allocations: 3.531 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2399, allocations: 3.938 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2399, allocations: 0 / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2399, allocations: 0 / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.2401, allocations: 169.6 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2401, allocations: 3.938 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2402, allocations: 19.98 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2403, allocations: 256 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2403, allocations: 0 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2403, allocations: 4 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2403, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2407, allocations: 195.5 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.2408, allocations: 85.02 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2408, allocations: 4 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.241, allocations: 16.02 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.241, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2411, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.2411, allocations: 87.27 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2411, allocations: 0 / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002988/0.2414, allocations: 8 kB / 0.9028 GB, free: 61.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.2416, allocations: 99.19 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.242, allocations: 67.89 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.242, allocations: 0 / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.2422, allocations: 40.03 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.2425, allocations: 3.953 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.2429, allocations: 132.7 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.2431, allocations: 0.6809 MB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.807e-05/0.2431, allocations: 7.922 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.2432, allocations: 7.438 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/0.2432, allocations: 7.938 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.003152/0.2464, allocations: 491.7 kB / 0.9043 GB, free: 59.5 MB / 0.6042 GB