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.001236/0.001236, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.627/1.627, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001396/0.001396, allocations: 66.31 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1941, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002456/0.1966, allocations: 1.438 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002373/0.1968, allocations: 88.66 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.1969, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1969, allocations: 3.938 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.197, allocations: 11.92 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.1971, allocations: 11.98 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.1972, allocations: 27.86 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.1973, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.1973, allocations: 11.98 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.1974, allocations: 11.94 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1974, allocations: 0 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.1974, allocations: 27.98 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1975, allocations: 3.984 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1975, allocations: 7.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1976, allocations: 39.88 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1976, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1976, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1976, allocations: 0 / 0.785 GB, free: 11.79 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.0004333/0.1981, allocations: 346.3 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1981, allocations: 8.031 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1983, allocations: 16.92 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1984, allocations: 168.2 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1984, allocations: 384 / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1984, allocations: 4.375 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1986, allocations: 62.22 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.1986, allocations: 192 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1986, allocations: 3.938 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1986, allocations: 0 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.1989, allocations: 51.89 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1992, allocations: 261 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1994, allocations: 54.42 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1995, allocations: 40.83 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1996, allocations: 0 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1996, allocations: 30.56 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1996, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003886/0.2, allocations: 109.7 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2, allocations: 51.41 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2001, allocations: 105.8 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2001, allocations: 25.7 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2002, allocations: 88.05 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.2002, allocations: 3.938 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.2002, allocations: 13.72 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2003, allocations: 322.9 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2004, allocations: 23.98 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.2005, allocations: 23.97 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.2007, allocations: 44.81 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2008, allocations: 8.062 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002308/0.201, allocations: 89.42 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.201, allocations: 4 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.201, allocations: 4 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.201, allocations: 0 / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.2011, allocations: 11.98 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2011, allocations: 0 / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.2012, allocations: 12.02 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.2012, allocations: 0 / 0.7869 GB, free: 9.621 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.655e-05/0.2013, allocations: 118.4 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.2013, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.2013, allocations: 3.531 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2014, allocations: 0 / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2014, allocations: 256 / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2014, allocations: 4 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2015, allocations: 173.6 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2015, allocations: 4 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.2016, allocations: 11.98 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2016, allocations: 3.984 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2016, allocations: 0 / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2016, allocations: 0 / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2016, allocations: 11.92 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.2019, allocations: 179.3 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.2019, allocations: 81.11 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.202, allocations: 3.938 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.202, allocations: 11.98 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.2021, allocations: 3.984 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2021, allocations: 4 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.2021, allocations: 79.28 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2021, allocations: 0 / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002109/0.2024, allocations: 12.03 kB / 0.7876 GB, free: 8.832 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 9.333e-05/0.2025, allocations: 95.25 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.2027, allocations: 59.88 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2027, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2028, allocations: 28.05 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.2031, allocations: 7.922 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.2034, allocations: 121.5 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2036, allocations: 0.6768 MB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.2036, allocations: 4.062 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.2036, allocations: 11.44 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2037, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.002294/0.2059, allocations: 0.5667 MB / 0.7891 GB, free: 7.211 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)