Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.634/2.634, allocations: 287.9 MB / 302.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001428, allocations: 174.9 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 90.92 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004865, allocations: 12.98 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001354/0.2205, allocations: 1.152 MB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.2207, allocations: 84.69 kB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.2207, allocations: 0 / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.2208, allocations: 3.984 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.2208, allocations: 11.92 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.221, allocations: 8 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.221, allocations: 15.98 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.964e-05/0.2211, allocations: 7.984 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.2212, allocations: 7.984 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.2212, allocations: 11.94 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2212, allocations: 0 / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.2213, allocations: 15.92 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.865e-06/0.2213, allocations: 7.984 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.2213, allocations: 29.64 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.621e-05/0.2214, allocations: 19.97 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.68e-06/0.2214, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.222e-06/0.2214, allocations: 4 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.944e-06/0.2214, allocations: 0 / 0.9801 GB, free: 26.79 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.0003333/0.2218, allocations: 339.5 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2218, allocations: 16.02 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.222, allocations: 11.98 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.2221, allocations: 175 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2221, allocations: 4 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2222, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.2224, allocations: 61.67 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.232e-06/0.2224, allocations: 0 / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-06/0.2224, allocations: 0 / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-06/0.2224, allocations: 0 / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.2227, allocations: 71.88 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.223, allocations: 272.8 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.2232, allocations: 62.55 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2233, allocations: 3.984 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2233, allocations: 42.61 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.424e-06/0.2233, allocations: 3.938 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004775/0.2238, allocations: 125.7 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.2238, allocations: 55.41 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.2239, allocations: 97.86 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.696e-06/0.2239, allocations: 29.7 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.224, allocations: 84.12 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.224, allocations: 11.84 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-06/0.224, allocations: 0 / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.2241, allocations: 318.8 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2242, allocations: 31.97 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2243, allocations: 31.98 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.2245, allocations: 35.91 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-06/0.2245, allocations: 0 / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003269/0.2248, allocations: 97.64 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2249, allocations: 8 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2249, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2249, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.225, allocations: 15.98 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.225, allocations: 4.031 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.2251, allocations: 12 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-06/0.2251, allocations: 3.984 kB / 0.982 GB, free: 24.59 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 (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 5.725e-05/0.2252, allocations: 109.8 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.2253, allocations: 7.906 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.2253, allocations: 7.531 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-06/0.2253, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.061e-06/0.2253, allocations: 4 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-06/0.2253, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2255, allocations: 165.6 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-06/0.2255, allocations: 0 / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.921e-05/0.2256, allocations: 15.98 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.039e-06/0.2256, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-06/0.2257, allocations: 256 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.121e-06/0.2257, allocations: 4 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-06/0.2257, allocations: 0 / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.226, allocations: 203.4 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.226, allocations: 81.14 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.2261, allocations: 0 / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2262, allocations: 11.98 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.2262, allocations: 3.984 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-06/0.2263, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.2263, allocations: 83.28 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.85e-07/0.2263, allocations: 0 / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003011/0.2266, allocations: 7.938 kB / 0.9827 GB, free: 23.8 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 (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 8.712e-05/0.2267, allocations: 99.25 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.227, allocations: 75.88 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.613e-06/0.227, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2272, allocations: 27.98 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.2274, allocations: 13.92 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.2278, allocations: 132.7 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2279, allocations: 0.6809 MB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.2279, allocations: 4 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.228, allocations: 7.438 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.291e-06/0.228, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.002591/0.2306, allocations: 0.4914 MB / 0.9842 GB, free: 22.22 MB / 0.6198 GB