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.1202/0.122, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002123/0.1242, allocations: 1.313 MB / 0.591 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.1245, allocations: 127.5 kB / 0.5911 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.1245, allocations: 0 / 0.5911 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.1245, allocations: 3.984 kB / 0.5911 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.1246, allocations: 0 / 0.5911 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.1247, allocations: 27.91 kB / 0.5911 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.543e-05/0.1248, allocations: 15.94 kB / 0.5911 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.1248, allocations: 3.984 kB / 0.5911 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.1248, allocations: 11.92 kB / 0.5911 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.1249, allocations: 4 kB / 0.5912 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-06/0.1249, allocations: 0 / 0.5912 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.125, allocations: 51.94 kB / 0.5912 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.125, allocations: 0 / 0.5912 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.125, allocations: 11.94 kB / 0.5912 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.1251, allocations: 44.16 kB / 0.5913 GB, free: 5.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1251, allocations: 3.938 kB / 0.5913 GB, free: 5.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1251, allocations: 3.938 kB / 0.5913 GB, free: 5.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.1251, allocations: 0 / 0.5913 GB, free: 5.496 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002969/0.1254, allocations: 331.5 kB / 0.5916 GB, free: 5.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1255, allocations: 8.031 kB / 0.5916 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.1255, allocations: 0.9375 kB / 0.5916 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1256, allocations: 168.4 kB / 0.5917 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1256, allocations: 4.375 kB / 0.5918 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.1256, allocations: 384 / 0.5918 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.1257, allocations: 34.27 kB / 0.5918 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.1257, allocations: 192 / 0.5918 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1257, allocations: 3.938 kB / 0.5918 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1257, allocations: 0 / 0.5918 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.1258, allocations: 4 kB / 0.5918 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.1259, allocations: 153.7 kB / 0.5919 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.126, allocations: 26.55 kB / 0.592 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.126, allocations: 12.92 kB / 0.592 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.1266, allocations: 0.6051 MB / 0.5926 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1266, allocations: 30.56 kB / 0.5926 GB, free: 3.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1266, allocations: 0 / 0.5926 GB, free: 3.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001084/0.1267, allocations: 49.69 kB / 0.5926 GB, free: 3.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.1268, allocations: 59.41 kB / 0.5927 GB, free: 3.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.1268, allocations: 97.84 kB / 0.5928 GB, free: 3.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1268, allocations: 29.7 kB / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.1269, allocations: 80.14 kB / 0.5929 GB, free: 3.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1269, allocations: 11.83 kB / 0.5929 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.1269, allocations: 13.72 kB / 0.5929 GB, free: 3.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.127, allocations: 318.8 kB / 0.5932 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.127, allocations: 4 kB / 0.5932 GB, free: 3.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.1271, allocations: 4 kB / 0.5932 GB, free: 3.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.1271, allocations: 8.859 kB / 0.5932 GB, free: 3.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1271, allocations: 0 / 0.5932 GB, free: 3.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.622e-05/0.1272, allocations: 53.53 kB / 0.5933 GB, free: 3.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1272, allocations: 4 kB / 0.5933 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.1272, allocations: 7.875 kB / 0.5933 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1272, allocations: 4 kB / 0.5933 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/0.1272, allocations: 4 kB / 0.5933 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1273, allocations: 4.094 kB / 0.5933 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.1273, allocations: 0 / 0.5933 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.1273, allocations: 0 / 0.5933 GB, free: 3.035 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.1273, allocations: 110.7 kB / 0.5934 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1274, allocations: 7.984 kB / 0.5934 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.1275, allocations: 44.77 kB / 0.5935 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1275, allocations: 0 / 0.5935 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1275, allocations: 3.938 kB / 0.5935 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1275, allocations: 8.031 kB / 0.5935 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.1276, allocations: 145.7 kB / 0.5936 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1276, allocations: 0 / 0.5936 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.1276, allocations: 4 kB / 0.5936 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1276, allocations: 0 / 0.5936 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1276, allocations: 11.92 kB / 0.5936 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1276, allocations: 0 / 0.5936 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1276, allocations: 0 / 0.5936 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.204e-05/0.1277, allocations: 61.14 kB / 0.5937 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.1277, allocations: 77.11 kB / 0.5938 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1278, allocations: 11.92 kB / 0.5938 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.1278, allocations: 4 kB / 0.5938 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.1278, allocations: 0 / 0.5938 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1278, allocations: 0 / 0.5938 GB, free: 2.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.67e-05/0.1278, allocations: 79.28 kB / 0.5939 GB, free: 2.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.1278, allocations: 0 / 0.5939 GB, free: 2.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001729/0.128, allocations: 19.94 kB / 0.5939 GB, free: 2.355 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 (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.0001291/0.1281, allocations: 111.3 kB / 0.594 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.584e-05/0.1282, allocations: 12 kB / 0.594 GB, free: 2.227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1282, allocations: 0 / 0.594 GB, free: 2.227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.1282, allocations: 4 kB / 0.594 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.1284, allocations: 15.02 kB / 0.594 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.1286, allocations: 119.7 kB / 0.5941 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1289, allocations: 0.6731 MB / 0.5948 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.1289, allocations: 0 / 0.5948 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.1289, allocations: 11.44 kB / 0.5948 GB, free: 1.355 MB / 446.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1289, allocations: 0 / 0.5948 GB, free: 1.355 MB / 446.1 MB Notification: Performance of Templates: time 0.001886/0.1308, allocations: 0.5844 MB / 0.5954 GB, free: 0.7812 MB / 446.1 MB 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)