Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [/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.1313/0.1332, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00207/0.1353, allocations: 1.244 MB / 0.6718 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.1357, allocations: 119.5 kB / 0.6719 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1357, allocations: 0 / 0.6719 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.1357, allocations: 0 / 0.6719 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.1358, allocations: 0 / 0.6719 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.136, allocations: 47.81 kB / 0.672 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.1361, allocations: 15.92 kB / 0.672 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1361, allocations: 352 / 0.672 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.1362, allocations: 7.938 kB / 0.672 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.1362, allocations: 8 kB / 0.672 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1362, allocations: 0 / 0.672 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1363, allocations: 47.94 kB / 0.6721 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1364, allocations: 4 kB / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.1364, allocations: 7.938 kB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1365, allocations: 43.88 kB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1365, allocations: 4 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1365, allocations: 0 / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1365, allocations: 0 / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003405/0.1369, allocations: 323.6 kB / 0.6724 GB, free: 108 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1369, allocations: 16.02 kB / 0.6724 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.1369, allocations: 4.844 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1371, allocations: 164.3 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1371, allocations: 384 / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1371, allocations: 8.375 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.088e-05/0.1372, allocations: 34.14 kB / 0.6726 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1372, allocations: 192 / 0.6726 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1372, allocations: 11.94 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1372, allocations: 3.984 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.1373, allocations: 4 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1374, allocations: 145.7 kB / 0.6728 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.1375, allocations: 34.59 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.1375, allocations: 8.797 kB / 0.6728 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.1381, allocations: 0.6052 MB / 0.6734 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1381, allocations: 30.56 kB / 0.6735 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1381, allocations: 0 / 0.6735 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.1383, allocations: 45.62 kB / 0.6735 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1383, allocations: 59.53 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.1384, allocations: 93.86 kB / 0.6737 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1384, allocations: 29.69 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.1384, allocations: 80.14 kB / 0.6738 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1385, allocations: 15.84 kB / 0.6738 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.1385, allocations: 9.719 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.1386, allocations: 310.8 kB / 0.6741 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.1386, allocations: 11.94 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.1386, allocations: 8 kB / 0.6741 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.1386, allocations: 16.84 kB / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1387, allocations: 0 / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.908e-05/0.1387, allocations: 37.7 kB / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1387, allocations: 4.781 kB / 0.6742 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1387, allocations: 3.938 kB / 0.6742 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1388, allocations: 4 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.1388, allocations: 0 / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1388, allocations: 4 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.1388, allocations: 4.094 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1389, allocations: 0 / 0.6742 GB, free: 14.02 MB / 0.5137 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 5.567e-05/0.1389, allocations: 117.8 kB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1389, allocations: 7.938 kB / 0.6743 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.139, allocations: 44.77 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.139, allocations: 3.984 kB / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.139, allocations: 0 / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.139, allocations: 0 / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.48e-05/0.1391, allocations: 157.8 kB / 0.6745 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1391, allocations: 0 / 0.6745 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.1392, allocations: 7.984 kB / 0.6745 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1392, allocations: 3.984 kB / 0.6745 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1392, allocations: 3.938 kB / 0.6745 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1392, allocations: 3.938 kB / 0.6745 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1392, allocations: 0 / 0.6745 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.733e-05/0.1393, allocations: 65.08 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.1393, allocations: 85.12 kB / 0.6747 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1393, allocations: 3.938 kB / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.1393, allocations: 0 / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.1394, allocations: 0 / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1394, allocations: 4 kB / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.1394, allocations: 79.28 kB / 0.6747 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1394, allocations: 0 / 0.6747 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001817/0.1396, allocations: 16 kB / 0.6748 GB, free: 13.32 MB / 0.5137 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 0.000142/0.1397, allocations: 122.1 kB / 0.6749 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.363e-05/0.1398, allocations: 11.94 kB / 0.6749 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1398, allocations: 0 / 0.6749 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.1398, allocations: 11.98 kB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.1401, allocations: 4 kB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.1403, allocations: 106 kB / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.1405, allocations: 0.6769 MB / 0.6757 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.1405, allocations: 3.984 kB / 0.6757 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.1405, allocations: 7.438 kB / 0.6757 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1406, allocations: 4 kB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.002314/0.1429, allocations: 0.5959 MB / 0.6763 GB, free: 11.72 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)