Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_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.001658/0.001657, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.002003/0.002003, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.123/3.123, allocations: 205.4 MB / 222.1 MB, free: 5.676 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 3.125/3.125, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005032/0.0005033, allocations: 15.22 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4593, allocations: 116.3 MB / 0.7872 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002155/0.4615, allocations: 0.9704 MB / 0.7882 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004542/0.462, allocations: 103.7 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.4621, allocations: 4 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.4621, allocations: 4 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.4623, allocations: 0 / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.4626, allocations: 31.94 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.4627, allocations: 7.984 kB / 0.7883 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.4628, allocations: 0 / 0.7883 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.4629, allocations: 7.938 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.463, allocations: 7.984 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4631, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.4633, allocations: 51.95 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4633, allocations: 3.984 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.4634, allocations: 25.7 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.4636, allocations: 28.19 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.4636, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.597e-06/0.4636, allocations: 3.938 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.4636, allocations: 0 / 0.7884 GB, free: 10.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007226/0.4644, allocations: 331.3 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.045e-05/0.4645, allocations: 8.031 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.4645, allocations: 34.56 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.4646, allocations: 7.984 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.4649, allocations: 171 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4649, allocations: 0 / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4649, allocations: 4 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4651, allocations: 29.7 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4651, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4652, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4652, allocations: 4 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.4653, allocations: 7.922 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.4656, allocations: 157.6 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4657, allocations: 26.59 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.467, allocations: 0.6052 MB / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.467, allocations: 38.5 kB / 0.7898 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.933e-06/0.467, allocations: 4 kB / 0.7898 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000306/0.4674, allocations: 41.62 kB / 0.7899 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.4674, allocations: 55.41 kB / 0.7899 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4676, allocations: 97.86 kB / 0.79 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4676, allocations: 25.7 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.4677, allocations: 80.14 kB / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.4678, allocations: 11.83 kB / 0.7901 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4678, allocations: 0 / 0.7901 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.468, allocations: 323 kB / 0.7904 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.468, allocations: 0 / 0.7904 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.4681, allocations: 4 kB / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.4681, allocations: 0 / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4681, allocations: 0 / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.4682, allocations: 45.64 kB / 0.7905 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.4683, allocations: 8 kB / 0.7905 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4683, allocations: 3.938 kB / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4683, allocations: 96 / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.4684, allocations: 8 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4685, allocations: 0 / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.4685, allocations: 0 / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.4685, allocations: 0 / 0.7905 GB, free: 8.223 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 (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.0001266/0.4687, allocations: 109.8 kB / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4687, allocations: 3.953 kB / 0.7906 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.4689, allocations: 52.66 kB / 0.7907 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4689, allocations: 0 / 0.7907 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4689, allocations: 4.031 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4689, allocations: 0 / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.4691, allocations: 153.7 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4692, allocations: 4 kB / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.4692, allocations: 7.938 kB / 0.7908 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4692, allocations: 3.953 kB / 0.7908 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4692, allocations: 0 / 0.7908 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4693, allocations: 0 / 0.7908 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4693, allocations: 0 / 0.7908 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.4694, allocations: 69.12 kB / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.4695, allocations: 77.11 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.4695, allocations: 3.953 kB / 0.791 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.918e-05/0.4696, allocations: 0 / 0.791 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.4696, allocations: 8.172 kB / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4696, allocations: 0 / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.4697, allocations: 87.27 kB / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4697, allocations: 3.938 kB / 0.7911 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003897/0.4701, allocations: 12 kB / 0.7911 GB, free: 7.527 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 (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.0006447/0.4708, allocations: 0.6163 MB / 0.7917 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.4709, allocations: 12 kB / 0.7917 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4709, allocations: 0 / 0.7917 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.471, allocations: 8.094 kB / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.4713, allocations: 11.89 kB / 0.7917 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.4723, allocations: 344.5 kB / 0.792 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4727, allocations: 0.677 MB / 0.7927 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.275e-05/0.4728, allocations: 8.125 kB / 0.7927 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.4728, allocations: 11.42 kB / 0.7927 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.4728, allocations: 0 / 0.7927 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2291/0.702, allocations: 1.201 MB / 0.7939 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/0.7024, allocations: 198 kB / 0.7941 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.562, allocations: 0 / 0.7941 GB, free: 4.426 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: