Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 191.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 222.1 MB, free: 4.941 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 73.08 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2027, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002636/0.2054, allocations: 1.503 MB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.2057, allocations: 92.64 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.2057, allocations: 0 / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.2058, allocations: 3.938 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.2058, allocations: 0 / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.206, allocations: 19.98 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.2061, allocations: 23.88 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.2062, allocations: 7.984 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.2062, allocations: 8 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.2062, allocations: 19.91 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2063, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.2063, allocations: 15.98 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.2063, allocations: 4 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2064, allocations: 15.92 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.2065, allocations: 27.91 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2065, allocations: 8 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2065, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2065, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 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.0003855/0.2069, allocations: 343.6 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2069, allocations: 12.03 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2071, allocations: 16.83 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2072, allocations: 164.4 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2072, allocations: 384 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2073, allocations: 8.375 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.2074, allocations: 50.23 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2075, allocations: 4.188 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.2075, allocations: 3.938 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2075, allocations: 0 / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.2077, allocations: 47.94 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.208, allocations: 276.8 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2082, allocations: 58.52 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.2083, allocations: 28.91 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2083, allocations: 3.938 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2084, allocations: 34.56 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.2084, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003783/0.2087, allocations: 113.5 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2088, allocations: 51.41 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.2089, allocations: 110 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2089, allocations: 25.7 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2089, allocations: 88.12 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.2089, allocations: 7.844 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.209, allocations: 13.72 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.2091, allocations: 314.8 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.2092, allocations: 23.97 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.2093, allocations: 27.97 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.2094, allocations: 48.81 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2094, allocations: 0 / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002248/0.2097, allocations: 89.59 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2097, allocations: 4 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2097, allocations: 0 / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2097, allocations: 4 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2098, allocations: 7.984 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2098, allocations: 0 / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.2099, allocations: 11.98 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2099, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 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 6.695e-05/0.21, allocations: 117.8 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.21, allocations: 4 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.2101, allocations: 7.516 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2101, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2101, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2101, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.2102, allocations: 169.6 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2102, allocations: 0 / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.2103, allocations: 11.98 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2103, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2103, allocations: 3.938 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2103, allocations: 4 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2104, allocations: 3.938 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2106, allocations: 179.3 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.2107, allocations: 81.11 kB / 0.787 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2107, allocations: 0 / 0.787 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.2108, allocations: 12.02 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2108, allocations: 4 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2108, allocations: 4.25 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.2109, allocations: 91.2 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2109, allocations: 0 / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002111/0.2111, allocations: 4 kB / 0.7871 GB, free: 9.199 MB / 0.6075 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 8.819e-05/0.2112, allocations: 95.25 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.2114, allocations: 55.89 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2114, allocations: 4 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2116, allocations: 23.97 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.2118, allocations: 14.33 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.2121, allocations: 133.5 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2123, allocations: 0.6768 MB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.2124, allocations: 3.906 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2124, allocations: 11.44 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2124, allocations: 0 / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.002294/0.2147, allocations: 0.5185 MB / 0.7886 GB, free: 7.613 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)