Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00121/0.00121, allocations: 193.9 kB / 16.25 MB, free: 6.617 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.187/1.187, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.506/1.506, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001232/0.001232, allocations: 65.55 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001979/0.1713, allocations: 1.34 MB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.1718, allocations: 310.8 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.1718, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.1718, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.1719, allocations: 15.92 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1721, allocations: 59.8 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.05e-05/0.1722, allocations: 35.92 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.831e-05/0.1722, allocations: 3.984 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.1723, allocations: 31.86 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.558e-05/0.1724, allocations: 15.86 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1724, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1725, allocations: 87.91 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1725, allocations: 4 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1726, allocations: 11.94 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1727, allocations: 76.06 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1727, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1727, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1727, allocations: 0 / 0.7849 GB, free: 11.82 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.000298/0.173, allocations: 355.3 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.173, allocations: 12.03 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.1731, allocations: 30.75 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.1731, allocations: 8.844 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.1732, allocations: 172.2 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-06/0.1732, allocations: 384 / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1732, allocations: 4.375 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.1733, allocations: 38.25 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1733, allocations: 3.938 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1733, allocations: 3.984 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.1733, allocations: 3.938 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.216e-05/0.1734, allocations: 15.98 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1735, allocations: 157.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/0.1736, allocations: 35.62 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.1736, allocations: 8.922 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009242/0.1745, allocations: 1.191 MB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1745, allocations: 30.56 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.1745, allocations: 0 / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001176/0.1747, allocations: 57.56 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.1747, allocations: 51.41 kB / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.1748, allocations: 109.8 kB / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1748, allocations: 29.7 kB / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.1748, allocations: 84.14 kB / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1748, allocations: 7.844 kB / 0.7872 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1749, allocations: 21.62 kB / 0.7872 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.175, allocations: 314.8 kB / 0.7875 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.175, allocations: 4 kB / 0.7876 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.175, allocations: 4 kB / 0.7876 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.175, allocations: 20.8 kB / 0.7876 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.175, allocations: 0 / 0.7876 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.092e-05/0.1751, allocations: 45.69 kB / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1751, allocations: 11.94 kB / 0.7876 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1751, allocations: 0 / 0.7876 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.1751, allocations: 3.938 kB / 0.7876 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.864e-05/0.1752, allocations: 4 kB / 0.7876 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1752, allocations: 7.984 kB / 0.7876 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.1752, allocations: 0 / 0.7876 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.1752, allocations: 0 / 0.7876 GB, free: 8.508 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 (3): * Single equations (assignments): 3 * 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.806e-05/0.1753, allocations: 114.5 kB / 0.7878 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.1753, allocations: 3.938 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1754, allocations: 69.75 kB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1754, allocations: 0 / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1754, allocations: 0 / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1754, allocations: 0 / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.992e-05/0.1755, allocations: 162 kB / 0.788 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1755, allocations: 4 kB / 0.788 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.1756, allocations: 4 kB / 0.788 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1756, allocations: 7.938 kB / 0.788 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1756, allocations: 0 / 0.788 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1756, allocations: 0 / 0.788 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1756, allocations: 7.984 kB / 0.788 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.064e-05/0.1757, allocations: 73.05 kB / 0.7881 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.1757, allocations: 89 kB / 0.7882 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1757, allocations: 7.938 kB / 0.7882 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.1758, allocations: 0 / 0.7882 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.1758, allocations: 8 kB / 0.7882 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.1758, allocations: 0 / 0.7882 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.1758, allocations: 87.27 kB / 0.7883 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1758, allocations: 4 kB / 0.7883 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001847/0.176, allocations: 27.94 kB / 0.7883 GB, free: 7.742 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 (3): * Single equations (assignments): 3 * 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.0003321/0.1764, allocations: 0.6319 MB / 0.7889 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.1764, allocations: 15.98 kB / 0.7889 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1764, allocations: 0 / 0.7889 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.1765, allocations: 15.94 kB / 0.7889 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1766, allocations: 0 / 0.7889 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1769, allocations: 186.4 kB / 0.7891 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.1771, allocations: 0.6807 MB / 0.7898 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.1772, allocations: 4 kB / 0.7898 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.1772, allocations: 19.42 kB / 0.7898 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1772, allocations: 0 / 0.7898 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009681/0.1869, allocations: 1.512 MB / 0.7913 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.1871, allocations: 218.7 kB / 0.7915 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/1.728, allocations: 4 kB / 0.7915 GB, free: 4.465 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)