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.353/1.353, allocations: 252 MB / 267.3 MB, free: 10.86 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.001142/0.001142, allocations: 174.9 kB / 327 MB, free: 2.113 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.663/1.663, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007612/0.0007612, allocations: 91.72 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003033, allocations: 12.84 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1777, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00119/0.179, allocations: 1.006 MB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004886/0.1795, allocations: 311 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.1795, allocations: 4 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.1795, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1797, allocations: 7.922 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.1799, allocations: 59.8 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.18, allocations: 31.92 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.18, allocations: 7.938 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.1801, allocations: 23.91 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1802, allocations: 15.92 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1802, allocations: 7.938 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1804, allocations: 83.84 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1804, allocations: 7.938 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1804, allocations: 37.64 kB / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1806, allocations: 71.84 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1806, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1806, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1806, allocations: 0 / 0.9025 GB, free: 61.76 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.0002689/0.1809, allocations: 361.9 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1809, allocations: 8.031 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.1809, allocations: 30.75 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.181, allocations: 4.938 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.1811, allocations: 164.3 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1811, allocations: 4.375 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.1811, allocations: 384 / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.599e-05/0.1812, allocations: 42.25 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1812, allocations: 3.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1812, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1812, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.1813, allocations: 11.92 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.1814, allocations: 161.7 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.1815, allocations: 30.58 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.1815, allocations: 8.922 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007947/0.1823, allocations: 1.191 MB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1823, allocations: 34.55 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1823, allocations: 0 / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001512/0.1825, allocations: 53.58 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1825, allocations: 59.39 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.1826, allocations: 117.8 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.1826, allocations: 25.7 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.394e-05/0.1826, allocations: 80.14 kB / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1826, allocations: 7.812 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.1827, allocations: 0 / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.1827, allocations: 318.8 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.1827, allocations: 0 / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.1827, allocations: 7.984 kB / 0.9052 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.1828, allocations: 25.08 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1828, allocations: 0 / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.277e-05/0.1829, allocations: 49.67 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1829, allocations: 7.938 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1829, allocations: 0 / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1829, allocations: 4 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.166e-05/0.183, allocations: 4 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.183, allocations: 3.938 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.183, allocations: 7.938 kB / 0.9053 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.183, allocations: 0 / 0.9053 GB, free: 58.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.1831, allocations: 113.8 kB / 0.9054 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1831, allocations: 3.938 kB / 0.9054 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1832, allocations: 65.52 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1832, allocations: 0 / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1832, allocations: 0 / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1832, allocations: 0 / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.1833, allocations: 165.6 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1833, allocations: 0 / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.1833, allocations: 4 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1833, allocations: 3.938 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1833, allocations: 4 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1834, allocations: 3.984 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1834, allocations: 3.938 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.892e-05/0.1834, allocations: 73.06 kB / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.1835, allocations: 85.11 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1835, allocations: 3.938 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.1835, allocations: 0 / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.1836, allocations: 7.984 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1836, allocations: 0 / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.542e-05/0.1836, allocations: 87.28 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002062/0.1838, allocations: 27.98 kB / 0.9059 GB, free: 57.72 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 (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.000297/0.1841, allocations: 0.6396 MB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.305e-05/0.1842, allocations: 15.94 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1842, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.1842, allocations: 11.98 kB / 0.9065 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.1844, allocations: 3.375 kB / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.1848, allocations: 180.3 kB / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.276e-05/0.1849, allocations: 0.6809 MB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.1849, allocations: 12.86 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.185, allocations: 11.44 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.185, allocations: 3.938 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.1956, allocations: 1.43 MB / 0.9088 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.1958, allocations: 232.1 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/1.781, allocations: 0 / 0.909 GB, free: 54.55 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)