Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002002/0.002003, allocations: 179.9 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009091/0.000909, allocations: 90.83 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 11.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1765, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001083/0.1777, allocations: 0.989 MB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.1781, allocations: 268.6 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1781, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.1781, allocations: 11.92 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.1782, allocations: 11.97 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1785, allocations: 55.8 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.841e-05/0.1785, allocations: 19.97 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1786, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.1787, allocations: 47.83 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.1787, allocations: 8 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1787, allocations: 0 / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1789, allocations: 79.91 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.1789, allocations: 3.938 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.1789, allocations: 29.7 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.179, allocations: 47.94 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.179, allocations: 4 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.179, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1791, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 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.0002624/0.1793, allocations: 351.5 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1794, allocations: 8.031 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.328e-05/0.1794, allocations: 30.56 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.1794, allocations: 4 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.72e-05/0.1795, allocations: 163 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1795, allocations: 15.92 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.1795, allocations: 3.938 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.1796, allocations: 37.69 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1796, allocations: 0 / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1796, allocations: 0 / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1796, allocations: 4 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.428e-05/0.1797, allocations: 7.984 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.1798, allocations: 165.7 kB / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.1799, allocations: 38.58 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000786/0.1807, allocations: 1.183 MB / 0.9036 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.1807, allocations: 34.56 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1807, allocations: 0 / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001255/0.1808, allocations: 53.59 kB / 0.9037 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.1809, allocations: 51.41 kB / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.753e-05/0.1809, allocations: 109.8 kB / 0.9039 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.1809, allocations: 25.7 kB / 0.9039 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.435e-05/0.181, allocations: 88.14 kB / 0.904 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.181, allocations: 7.891 kB / 0.904 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.181, allocations: 0 / 0.904 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.181, allocations: 318.8 kB / 0.9043 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.1811, allocations: 4 kB / 0.9043 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.1811, allocations: 8 kB / 0.9043 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.787e-05/0.1811, allocations: 7.953 kB / 0.9043 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1811, allocations: 0 / 0.9043 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.005e-05/0.1812, allocations: 45.69 kB / 0.9044 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1812, allocations: 6.031 kB / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1812, allocations: 0 / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.1812, allocations: 0 / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.1813, allocations: 11.98 kB / 0.9044 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.1813, allocations: 0 / 0.9044 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1813, allocations: 11.84 kB / 0.9044 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.1813, allocations: 0 / 0.9044 GB, free: 59 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.1814, allocations: 113.7 kB / 0.9045 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.1814, allocations: 8 kB / 0.9045 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1815, allocations: 61.53 kB / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1815, allocations: 384 / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1815, allocations: 0 / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1815, allocations: 3.984 kB / 0.9046 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.439e-05/0.1816, allocations: 161.7 kB / 0.9047 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1816, allocations: 11.94 kB / 0.9047 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.1816, allocations: 4 kB / 0.9047 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1816, allocations: 0 / 0.9047 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1816, allocations: 0 / 0.9047 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1816, allocations: 0 / 0.9047 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1817, allocations: 0 / 0.9047 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.754e-05/0.1817, allocations: 84.97 kB / 0.9048 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1818, allocations: 85.05 kB / 0.9049 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1818, allocations: 4 kB / 0.9049 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.1818, allocations: 0 / 0.9049 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.1819, allocations: 0 / 0.9049 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1819, allocations: 8 kB / 0.9049 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.1819, allocations: 83.27 kB / 0.905 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1819, allocations: 0 / 0.905 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002003/0.1821, allocations: 28 kB / 0.905 GB, free: 58.25 MB / 0.6042 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 (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.0002773/0.1824, allocations: 0.6484 MB / 0.9056 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.1825, allocations: 19.98 kB / 0.9057 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1825, allocations: 0 / 0.9057 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.1825, allocations: 8 kB / 0.9057 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.1826, allocations: 4 kB / 0.9057 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.183, allocations: 180.2 kB / 0.9058 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.404e-05/0.1831, allocations: 0.6809 MB / 0.9065 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.1831, allocations: 12.53 kB / 0.9065 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.1831, allocations: 7.438 kB / 0.9065 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1832, allocations: 0 / 0.9065 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.194, allocations: 1.418 MB / 0.9079 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.1942, allocations: 204.2 kB / 0.9081 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.665, allocations: 0 / 0.9081 GB, free: 55.11 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)