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.001164/0.001164, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001192/0.001192, allocations: 192.7 kB / 16.25 MB, free: 6.156 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.193/1.193, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.5/1.5, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.00134/0.00134, allocations: 72.11 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1688, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002216/0.1711, allocations: 1.309 MB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.1713, allocations: 123.5 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.1714, allocations: 0 / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1714, allocations: 0 / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.1715, allocations: 7.984 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.1717, allocations: 31.89 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.1717, allocations: 15.94 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.1718, allocations: 8 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.1718, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.1718, allocations: 11.92 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1719, allocations: 0 / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.172, allocations: 51.94 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.527e-06/0.172, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.172, allocations: 11.92 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.616e-05/0.1721, allocations: 40.17 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1721, allocations: 0 / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1721, allocations: 0 / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.1721, allocations: 0 / 0.7845 GB, free: 12.18 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.000319/0.1725, allocations: 331.5 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1725, allocations: 12.03 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.1725, allocations: 34.69 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.1726, allocations: 0.9375 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1727, allocations: 172.3 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.1727, allocations: 4.375 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.1727, allocations: 384 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.327e-05/0.1728, allocations: 30.27 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1728, allocations: 7.938 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.1728, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1728, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.1728, allocations: 4 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.173, allocations: 153.7 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.173, allocations: 26.52 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.1731, allocations: 12.86 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.1737, allocations: 0.6051 MB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1737, allocations: 38.56 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1737, allocations: 0 / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.1738, allocations: 45.62 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1739, allocations: 55.34 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.1739, allocations: 97.86 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.174, allocations: 25.83 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.174, allocations: 88.14 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.174, allocations: 11.83 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.1741, allocations: 17.72 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.1741, allocations: 310.8 kB / 0.7865 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.1742, allocations: 0 / 0.7865 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-06/0.1742, allocations: 4 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.1742, allocations: 12.86 kB / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1742, allocations: 4.062 kB / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.778e-05/0.1743, allocations: 41.62 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1743, allocations: 11.94 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1743, allocations: 0 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1743, allocations: 0 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.1744, allocations: 4 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1744, allocations: 0 / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.1744, allocations: 7.906 kB / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1744, allocations: 3.984 kB / 0.7866 GB, free: 9.676 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.1745, allocations: 117.9 kB / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1745, allocations: 7.922 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.817e-05/0.1746, allocations: 41.02 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1746, allocations: 0 / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1746, allocations: 3.984 kB / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1746, allocations: 0 / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.022e-05/0.1747, allocations: 149.7 kB / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1747, allocations: 0 / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.1747, allocations: 11.88 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1747, allocations: 7.969 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1747, allocations: 7.984 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1748, allocations: 3.938 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1748, allocations: 4 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.431e-05/0.1748, allocations: 57.14 kB / 0.787 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.1749, allocations: 77.11 kB / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1749, allocations: 7.922 kB / 0.7871 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.1749, allocations: 4.031 kB / 0.7871 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.1749, allocations: 4 kB / 0.7871 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1749, allocations: 0 / 0.7871 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.175, allocations: 79.28 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.175, allocations: 0 / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001794/0.1752, allocations: 16 kB / 0.7872 GB, free: 8.98 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 (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.000318/0.1755, allocations: 0.6241 MB / 0.7878 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.256e-05/0.1755, allocations: 4 kB / 0.7878 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1756, allocations: 0 / 0.7878 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.1756, allocations: 7.938 kB / 0.7878 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1758, allocations: 14.8 kB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.1765, allocations: 1.091 MB / 0.7889 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1768, allocations: 0.6768 MB / 0.7896 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.1768, allocations: 0 / 0.7896 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1768, allocations: 15.44 kB / 0.7896 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1768, allocations: 0 / 0.7896 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009825/0.1867, allocations: 1.329 MB / 0.7909 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.1869, allocations: 204.9 kB / 0.7911 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.764, allocations: 3.938 kB / 0.7911 GB, free: 4.945 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/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)