Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1928/0.1935, allocations: 82.22 MB / 0.5935 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002159/0.1957, allocations: 1.128 MB / 0.5946 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.1961, allocations: 71.8 kB / 0.5946 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1961, allocations: 0 / 0.5946 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1962, allocations: 0 / 0.5946 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.1963, allocations: 7.938 kB / 0.5946 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1965, allocations: 19.97 kB / 0.5947 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.1966, allocations: 27.92 kB / 0.5947 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1967, allocations: 0 / 0.5947 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.1967, allocations: 11.98 kB / 0.5947 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1968, allocations: 7.938 kB / 0.5947 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1968, allocations: 0 / 0.5947 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.1969, allocations: 15.98 kB / 0.5947 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1969, allocations: 3.984 kB / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.1969, allocations: 37.64 kB / 0.5948 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.197, allocations: 12.25 kB / 0.5948 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.197, allocations: 0 / 0.5948 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.197, allocations: 0 / 0.5948 GB, free: 4.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1971, allocations: 7.938 kB / 0.5948 GB, free: 4.574 MB / 446.1 MB 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.0005102/0.1976, allocations: 347.2 kB / 0.5951 GB, free: 4.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1976, allocations: 11.97 kB / 0.5951 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1979, allocations: 19.89 kB / 0.5951 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1981, allocations: 163.1 kB / 0.5953 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1981, allocations: 7.984 kB / 0.5953 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1981, allocations: 4 kB / 0.5953 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1984, allocations: 65.62 kB / 0.5954 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1984, allocations: 0 / 0.5954 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1984, allocations: 0 / 0.5954 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1984, allocations: 4 kB / 0.5954 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1987, allocations: 67.88 kB / 0.5954 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.1993, allocations: 265 kB / 0.5957 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1995, allocations: 62.48 kB / 0.5958 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1997, allocations: 40.89 kB / 0.5958 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1997, allocations: 0 / 0.5958 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1998, allocations: 30.56 kB / 0.5958 GB, free: 3.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1998, allocations: 0 / 0.5958 GB, free: 3.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005079/0.2003, allocations: 129.6 kB / 0.5959 GB, free: 3.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2003, allocations: 51.41 kB / 0.596 GB, free: 3.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2005, allocations: 106 kB / 0.5961 GB, free: 3.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2005, allocations: 29.7 kB / 0.5961 GB, free: 3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.2006, allocations: 88.08 kB / 0.5962 GB, free: 2.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.2006, allocations: 7.906 kB / 0.5962 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.2007, allocations: 0 / 0.5962 GB, free: 2.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2008, allocations: 318.8 kB / 0.5965 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.201, allocations: 23.98 kB / 0.5965 GB, free: 2.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.2011, allocations: 35.97 kB / 0.5966 GB, free: 2.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2012, allocations: 31.97 kB / 0.5966 GB, free: 2.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2012, allocations: 4.062 kB / 0.5966 GB, free: 2.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002441/0.2015, allocations: 101.5 kB / 0.5967 GB, free: 2.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2015, allocations: 4 kB / 0.5967 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2015, allocations: 4.031 kB / 0.5967 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2015, allocations: 4 kB / 0.5967 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2017, allocations: 11.98 kB / 0.5967 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2017, allocations: 0 / 0.5967 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.2018, allocations: 11.98 kB / 0.5967 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2018, allocations: 4 kB / 0.5967 GB, free: 2.344 MB / 446.1 MB 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 0.0001086/0.2019, allocations: 118.7 kB / 0.5969 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2019, allocations: 3.953 kB / 0.5969 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.202, allocations: 11.52 kB / 0.5969 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.202, allocations: 0 / 0.5969 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.202, allocations: 3.938 kB / 0.5969 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.202, allocations: 0 / 0.5969 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.2022, allocations: 165.7 kB / 0.597 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2022, allocations: 256 / 0.597 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.2023, allocations: 11.98 kB / 0.5971 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.2023, allocations: 15.95 kB / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2023, allocations: 0 / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2024, allocations: 0 / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2024, allocations: 0 / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.2027, allocations: 191.4 kB / 0.5972 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2028, allocations: 81.02 kB / 0.5973 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2028, allocations: 7.953 kB / 0.5973 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2029, allocations: 11.98 kB / 0.5973 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.2029, allocations: 0 / 0.5973 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.203, allocations: 4.031 kB / 0.5973 GB, free: 1.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.093e-05/0.203, allocations: 87.27 kB / 0.5974 GB, free: 1.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.203, allocations: 0 / 0.5974 GB, free: 1.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.2033, allocations: 8 kB / 0.5974 GB, free: 1.547 MB / 446.1 MB 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.0001403/0.2034, allocations: 95.23 kB / 0.5975 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.2037, allocations: 71.89 kB / 0.5976 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2037, allocations: 0 / 0.5976 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2038, allocations: 32.03 kB / 0.5976 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2042, allocations: 12.06 kB / 0.5976 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.2046, allocations: 128.6 kB / 0.5978 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2049, allocations: 0.677 MB / 0.5984 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.205, allocations: 8 kB / 0.5984 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.205, allocations: 7.438 kB / 0.5984 GB, free: 468 kB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.205, allocations: 0 / 0.5984 GB, free: 468 kB / 446.1 MB Notification: Performance of Templates: time 0.002923/0.2079, allocations: 0.4902 MB / 0.5989 GB, free: 15.97 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: