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.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001084/0.001084, allocations: 172 kB / 326.5 MB, free: 2.258 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.656/1.656, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009047/0.0009045, allocations: 90.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003107, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00115/0.19, allocations: 0.9655 MB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.1903, allocations: 107.8 kB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1903, allocations: 0 / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.1903, allocations: 3.984 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.1904, allocations: 7.984 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.1905, allocations: 27.89 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.794e-05/0.1906, allocations: 7.984 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.1906, allocations: 4 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.1907, allocations: 7.984 kB / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.1907, allocations: 15.88 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1907, allocations: 0 / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.1908, allocations: 43.95 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.1908, allocations: 3.984 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.1909, allocations: 29.7 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.988e-05/0.1909, allocations: 23.95 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1909, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.191, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.191, allocations: 4 kB / 0.9014 GB, free: 62.56 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.0002602/0.1912, allocations: 331.6 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1913, allocations: 8.031 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.353e-05/0.1913, allocations: 30.56 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.889e-05/0.1913, allocations: 0 / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.1914, allocations: 175 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.1914, allocations: 0 / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.1914, allocations: 0 / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.093e-05/0.1915, allocations: 37.62 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1915, allocations: 0 / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1915, allocations: 4 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1915, allocations: 0 / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.1916, allocations: 4 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.1917, allocations: 157.7 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.91e-05/0.1917, allocations: 23.89 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.1922, allocations: 0.613 MB / 0.9027 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.1923, allocations: 38.5 kB / 0.9027 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1923, allocations: 0 / 0.9027 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001081/0.1924, allocations: 41.61 kB / 0.9028 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.559e-05/0.1924, allocations: 51.41 kB / 0.9028 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/0.1925, allocations: 97.84 kB / 0.9029 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.1925, allocations: 29.64 kB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.1925, allocations: 88.27 kB / 0.903 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1925, allocations: 7.938 kB / 0.903 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.1925, allocations: 0 / 0.903 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.1926, allocations: 310.8 kB / 0.9033 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.1926, allocations: 0 / 0.9033 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.1926, allocations: 11.94 kB / 0.9033 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.786e-05/0.1926, allocations: 11.94 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1926, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.923e-05/0.1927, allocations: 37.61 kB / 0.9034 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1927, allocations: 8.094 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1927, allocations: 0 / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1927, allocations: 0 / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.1928, allocations: 4 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1928, allocations: 0 / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.1928, allocations: 0 / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1928, allocations: 4 kB / 0.9034 GB, free: 60.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.1929, allocations: 117.8 kB / 0.9035 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-06/0.1929, allocations: 0 / 0.9035 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/0.1929, allocations: 56.73 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.193, allocations: 4 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.193, allocations: 0 / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.193, allocations: 0 / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.566e-05/0.193, allocations: 149.7 kB / 0.9037 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.193, allocations: 3.953 kB / 0.9037 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.1931, allocations: 3.984 kB / 0.9037 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1931, allocations: 4 kB / 0.9037 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1931, allocations: 0 / 0.9037 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1931, allocations: 0 / 0.9037 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1931, allocations: 4.031 kB / 0.9037 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.284e-05/0.1932, allocations: 61.08 kB / 0.9038 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.1932, allocations: 89.05 kB / 0.9039 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1932, allocations: 4 kB / 0.9039 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.566e-05/0.1932, allocations: 0 / 0.9039 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1932, allocations: 192 / 0.9039 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1932, allocations: 0 / 0.9039 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.876e-05/0.1933, allocations: 87.3 kB / 0.904 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.32e-07/0.1933, allocations: 0 / 0.904 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001947/0.1935, allocations: 23.88 kB / 0.904 GB, free: 59.42 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 (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.0002368/0.1937, allocations: 0.6174 MB / 0.9046 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.709e-05/0.1938, allocations: 15.91 kB / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1938, allocations: 4 kB / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-06/0.1938, allocations: 4 kB / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.194, allocations: 7.984 kB / 0.9046 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.1944, allocations: 344.6 kB / 0.905 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.923e-05/0.1945, allocations: 0.681 MB / 0.9056 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.1946, allocations: 0 / 0.9056 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.1946, allocations: 7.438 kB / 0.9056 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1946, allocations: 0 / 0.9056 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.2051, allocations: 1.214 MB / 0.9068 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.2053, allocations: 201.7 kB / 0.907 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.623, allocations: 5.719 kB / 0.907 GB, free: 56.35 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)