Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.523/2.523, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 190.1 kB / 0.4901 GB, free: 2.262 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 105 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.0005556, allocations: 6.875 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4231, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.011/5.435, allocations: 1.911 GB / 3.141 GB, free: 42.17 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/5.435, allocations: 89.58 kB / 3.141 GB, free: 42.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.455/6.89, allocations: 360.6 MB / 3.493 GB, free: 156.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.333e-06/6.89, allocations: 0 / 3.493 GB, free: 156.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.465e-05/6.89, allocations: 24.11 kB / 3.493 GB, free: 156.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001616/6.891, allocations: 0.8412 MB / 3.494 GB, free: 156 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/6.892, allocations: 12.03 kB / 3.494 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.321e-05/6.892, allocations: 66.53 kB / 3.494 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/6.893, allocations: 167.3 kB / 3.494 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/6.893, allocations: 381.6 kB / 3.494 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/6.894, allocations: 32.66 kB / 3.494 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/6.894, allocations: 31.91 kB / 3.494 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/6.894, allocations: 374 kB / 3.495 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/6.894, allocations: 4.281 kB / 3.495 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/6.894, allocations: 15.95 kB / 3.495 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/6.894, allocations: 8 kB / 3.495 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/6.895, allocations: 262 kB / 3.495 GB, free: 154.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/6.896, allocations: 1.765 MB / 3.497 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/6.897, allocations: 202.3 kB / 3.497 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008196/6.897, allocations: 0.8701 MB / 3.498 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/6.897, allocations: 38.5 kB / 3.498 GB, free: 151.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 2.465e-06/6.897, allocations: 0 / 3.498 GB, free: 151.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.0008135/6.898, allocations: 351.6 kB / 3.498 GB, free: 151 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/6.898, allocations: 55.41 kB / 3.498 GB, free: 151 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/6.899, allocations: 373.1 kB / 3.498 GB, free: 150.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/6.899, allocations: 33.7 kB / 3.499 GB, free: 150.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/6.899, allocations: 212.6 kB / 3.499 GB, free: 150.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/6.899, allocations: 86.75 kB / 3.499 GB, free: 150.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/6.899, allocations: 0 / 3.499 GB, free: 150.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/6.899, allocations: 354.8 kB / 3.499 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/6.899, allocations: 76.42 kB / 3.499 GB, free: 149.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/6.899, allocations: 138.2 kB / 3.499 GB, free: 149.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/6.899, allocations: 94.77 kB / 3.499 GB, free: 149.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.899, allocations: 8 kB / 3.499 GB, free: 149.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004441/6.9, allocations: 289.1 kB / 3.5 GB, free: 149.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/6.9, allocations: 4 kB / 3.5 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/6.9, allocations: 4 kB / 3.5 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/6.9, allocations: 0 / 3.5 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/6.9, allocations: 59.95 kB / 3.5 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/6.9, allocations: 8.031 kB / 3.5 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/6.901, allocations: 47.61 kB / 3.5 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/6.901, allocations: 12 kB / 3.5 GB, free: 149.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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 0.0001637/6.901, allocations: 170.5 kB / 3.5 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/6.901, allocations: 43.48 kB / 3.5 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/6.901, allocations: 293.2 kB / 3.5 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/6.901, allocations: 4 kB / 3.5 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/6.901, allocations: 4 kB / 3.5 GB, free: 148.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/6.901, allocations: 0 / 3.5 GB, free: 148.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/6.902, allocations: 0.7997 MB / 3.501 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/6.902, allocations: 0 / 3.501 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/6.903, allocations: 51.97 kB / 3.501 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/6.903, allocations: 4 kB / 3.501 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/6.903, allocations: 4 kB / 3.501 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/6.903, allocations: 4.125 kB / 3.501 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/6.903, allocations: 8 kB / 3.501 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/6.903, allocations: 0.5801 MB / 3.502 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/6.904, allocations: 148.5 kB / 3.502 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/6.904, allocations: 4 kB / 3.502 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/6.904, allocations: 31.97 kB / 3.502 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/6.904, allocations: 19.94 kB / 3.502 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/6.904, allocations: 8 kB / 3.502 GB, free: 146.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002649/6.904, allocations: 299.1 kB / 3.502 GB, free: 146.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/6.904, allocations: 0 / 3.502 GB, free: 146.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009132/6.905, allocations: 227.8 kB / 3.502 GB, free: 146.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.002803/6.908, allocations: 2.64 MB / 3.505 GB, free: 143.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004567/6.909, allocations: 203.8 kB / 3.505 GB, free: 143.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/6.909, allocations: 0 / 3.505 GB, free: 143.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/6.909, allocations: 129.2 kB / 3.505 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/6.91, allocations: 207.4 kB / 3.506 GB, free: 143.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/6.913, allocations: 2.963 MB / 3.508 GB, free: 140 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/6.913, allocations: 0.8352 MB / 3.509 GB, free: 139.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003283/6.914, allocations: 83.33 kB / 3.509 GB, free: 139.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/6.914, allocations: 135.4 kB / 3.509 GB, free: 138.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/6.914, allocations: 0 / 3.509 GB, free: 138.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/6.96, allocations: 29.84 MB / 3.539 GB, free: 109.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/6.96, allocations: 217.3 kB / 3.539 GB, free: 109.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/9.952, allocations: 0 / 3.539 GB, free: 109.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat does not exist to compare? outputFormat=mat