Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.437/1.437, allocations: 252 MB / 267.3 MB, free: 10.82 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.001004/0.001004, allocations: 168.9 kB / 327 MB, free: 2.07 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.844/1.844, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007536/0.0007536, allocations: 89.75 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 8.344 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1898, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001265/0.1911, allocations: 0.9787 MB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.1914, allocations: 119.6 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1915, allocations: 0 / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1915, allocations: 3.938 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.1916, allocations: 0 / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1918, allocations: 39.88 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.1918, allocations: 11.94 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.1919, allocations: 3.984 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.1919, allocations: 7.938 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.192, allocations: 3.984 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.192, allocations: 4 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1921, allocations: 51.95 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1921, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1922, allocations: 45.56 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1923, allocations: 35.88 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1923, allocations: 4 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1923, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1923, allocations: 0 / 0.9022 GB, free: 61.89 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000339/0.1926, allocations: 327.8 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1927, allocations: 12.03 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.1927, allocations: 34.75 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.1928, allocations: 0.9375 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.1929, allocations: 164.3 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1929, allocations: 4.375 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1929, allocations: 4.375 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.967e-05/0.193, allocations: 34.25 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.193, allocations: 3.938 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.193, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.193, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.193, allocations: 7.938 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1932, allocations: 153.7 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.285e-05/0.1932, allocations: 26.58 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.1933, allocations: 8.922 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.1938, allocations: 0.6091 MB / 0.9035 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1939, allocations: 34.56 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1939, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001352/0.194, allocations: 41.7 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1941, allocations: 59.41 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.1941, allocations: 101.8 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.1941, allocations: 25.7 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.1941, allocations: 80.14 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1942, allocations: 3.906 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.1942, allocations: 0 / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.1942, allocations: 322.8 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.1943, allocations: 0 / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.1943, allocations: 11.94 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.1943, allocations: 12.86 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1943, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.365e-05/0.1944, allocations: 41.58 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1944, allocations: 7.938 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1944, allocations: 4 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1944, allocations: 0 / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.1945, allocations: 3.984 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1945, allocations: 4 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.1945, allocations: 4.094 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1945, allocations: 0 / 0.9043 GB, free: 59.41 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 (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.023e-05/0.1946, allocations: 109.8 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.1946, allocations: 7.938 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.588e-05/0.1947, allocations: 48.75 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1947, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1947, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1947, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.65e-05/0.1948, allocations: 153.7 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1948, allocations: 0 / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.1948, allocations: 8 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1948, allocations: 3.938 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1948, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1948, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1948, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.222e-05/0.1949, allocations: 73.03 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.1949, allocations: 81.33 kB / 0.9047 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.195, allocations: 3.938 kB / 0.9047 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.195, allocations: 3.938 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.195, allocations: 7.984 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.195, allocations: 0 / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.074e-05/0.195, allocations: 79.27 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.195, allocations: 0 / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001945/0.1952, allocations: 15.94 kB / 0.9048 GB, free: 58.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 (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.0002772/0.1955, allocations: 0.6203 MB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.472e-05/0.1956, allocations: 11.94 kB / 0.9054 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1956, allocations: 0 / 0.9054 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.1956, allocations: 7.984 kB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1959, allocations: 12.09 kB / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.1966, allocations: 1.107 MB / 0.9065 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.1967, allocations: 0.6731 MB / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.1967, allocations: 7.984 kB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.1967, allocations: 7.438 kB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1968, allocations: 0 / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.2071, allocations: 1.24 MB / 0.9084 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.2073, allocations: 222.9 kB / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.752, allocations: 0 / 0.9086 GB, free: 54.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)