Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 152 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.001176/0.001176, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9606/0.9606, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 54.5 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1954, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002779/0.1983, allocations: 1.256 MB / 0.5857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.1986, allocations: 123.5 kB / 0.5858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.1987, allocations: 4 kB / 0.5858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.1987, allocations: 4 kB / 0.5858 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.1988, allocations: 3.938 kB / 0.5858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.199, allocations: 39.88 kB / 0.5859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.1991, allocations: 7.938 kB / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.1991, allocations: 8 kB / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1992, allocations: 0 / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.1992, allocations: 11.92 kB / 0.5859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1992, allocations: 4 kB / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1994, allocations: 51.94 kB / 0.5859 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1994, allocations: 7.984 kB / 0.586 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.1994, allocations: 3.938 kB / 0.586 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1995, allocations: 35.95 kB / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1996, allocations: 0 / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1996, allocations: 0 / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1996, allocations: 0 / 0.586 GB, free: 2.902 MB / 494.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.0004022/0.2, allocations: 331.7 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2, allocations: 16.03 kB / 0.5863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.2001, allocations: 30.75 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.2001, allocations: 0.9375 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2003, allocations: 172.3 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2003, allocations: 384 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.2003, allocations: 384 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.44e-05/0.2004, allocations: 37.64 kB / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2004, allocations: 0 / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.2004, allocations: 0 / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2004, allocations: 0 / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.2004, allocations: 11.94 kB / 0.5866 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.2006, allocations: 153.7 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.2007, allocations: 26.45 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.2007, allocations: 12.92 kB / 0.5868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/0.2014, allocations: 0.609 MB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2015, allocations: 34.56 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.2015, allocations: 0 / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000142/0.2016, allocations: 45.67 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2017, allocations: 55.34 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.2017, allocations: 93.86 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2018, allocations: 33.7 kB / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.2018, allocations: 80.14 kB / 0.5877 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.2018, allocations: 7.891 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.2019, allocations: 17.84 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.202, allocations: 314.8 kB / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.202, allocations: 0 / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.202, allocations: 4 kB / 0.588 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.202, allocations: 8.859 kB / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.202, allocations: 0 / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.409e-05/0.2021, allocations: 49.62 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2021, allocations: 8.094 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2021, allocations: 7.938 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2022, allocations: 0 / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.2022, allocations: 4 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2022, allocations: 0 / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.2022, allocations: 3.906 kB / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2023, allocations: 0 / 0.5881 GB, free: 412 kB / 494.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 7.053e-05/0.2023, allocations: 113.8 kB / 0.5882 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.2023, allocations: 3.938 kB / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.2024, allocations: 52.81 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2025, allocations: 0 / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2025, allocations: 0 / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2025, allocations: 0 / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.226e-05/0.2026, allocations: 153.7 kB / 0.5884 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2026, allocations: 3.938 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.2026, allocations: 11.88 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2026, allocations: 0 / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.2026, allocations: 3.984 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/0.2027, allocations: 4.047 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2027, allocations: 32 / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.17e-05/0.2027, allocations: 61.14 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.2028, allocations: 81.05 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.2028, allocations: 3.938 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.2028, allocations: 8 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.2028, allocations: 3.938 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.2028, allocations: 0 / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.2029, allocations: 83.31 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2029, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000194/0.2031, allocations: 16 kB / 0.5887 GB, free: 15.71 MB / 0.4981 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.0003922/0.2035, allocations: 0.6124 MB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.2036, allocations: 16.03 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2036, allocations: 0 / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.2036, allocations: 7.938 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2039, allocations: 7.984 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.2048, allocations: 1.103 MB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.205, allocations: 0.669 MB / 0.591 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.205, allocations: 8.062 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.2051, allocations: 7.438 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2051, allocations: 0 / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.25, allocations: 1.404 MB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.83, allocations: 0 / 0.5924 GB, free: 11.82 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)