Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001024/0.001024, allocations: 184.1 kB / 492.3 MB, free: 0.6133 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.475/1.475, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009679/0.0009679, allocations: 87.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.255e-05/5.256e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.19, allocations: 1.911 GB / 3.123 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/5.19, allocations: 93.12 kB / 3.123 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6815/5.871, allocations: 360.2 MB / 3.475 GB, free: 10.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/5.871, allocations: 0 / 3.475 GB, free: 10.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.659e-05/5.872, allocations: 19.98 kB / 3.475 GB, free: 10.05 MB / 1.151 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.001633/5.873, allocations: 0.7614 MB / 3.476 GB, free: 9.242 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/5.873, allocations: 12.03 kB / 3.476 GB, free: 9.23 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/5.873, allocations: 58.55 kB / 3.476 GB, free: 9.164 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/5.875, allocations: 183.2 kB / 3.476 GB, free: 8.984 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/5.876, allocations: 388.9 kB / 3.476 GB, free: 8.562 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/5.876, allocations: 28.72 kB / 3.476 GB, free: 8.535 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/5.876, allocations: 28 kB / 3.476 GB, free: 8.508 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/5.876, allocations: 351.6 kB / 3.477 GB, free: 8.133 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/5.876, allocations: 4 kB / 3.477 GB, free: 8.129 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/5.876, allocations: 12 kB / 3.477 GB, free: 8.117 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/5.876, allocations: 11.94 kB / 3.477 GB, free: 8.105 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/5.877, allocations: 222.1 kB / 3.477 GB, free: 7.891 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00187/5.879, allocations: 1.765 MB / 3.479 GB, free: 5.984 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/5.879, allocations: 178.4 kB / 3.479 GB, free: 5.801 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/5.879, allocations: 89.45 kB / 3.479 GB, free: 5.711 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/5.88, allocations: 0.8701 MB / 3.48 GB, free: 4.656 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/5.88, allocations: 42.56 kB / 3.48 GB, free: 4.605 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 2.995e-06/5.88, allocations: 0 / 3.48 GB, free: 4.605 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.0005872/5.88, allocations: 239.4 kB / 3.48 GB, free: 4.367 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/5.88, allocations: 55.34 kB / 3.48 GB, free: 4.301 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/5.881, allocations: 367.2 kB / 3.48 GB, free: 3.938 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/5.881, allocations: 33.7 kB / 3.48 GB, free: 3.898 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/5.881, allocations: 208.5 kB / 3.481 GB, free: 3.691 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/5.881, allocations: 86.7 kB / 3.481 GB, free: 3.605 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/5.881, allocations: 4 kB / 3.481 GB, free: 3.602 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/5.881, allocations: 362.7 kB / 3.481 GB, free: 3.238 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/5.881, allocations: 56.47 kB / 3.481 GB, free: 3.184 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/5.881, allocations: 115.4 kB / 3.481 GB, free: 3.051 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/5.881, allocations: 77.64 kB / 3.481 GB, free: 2.977 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/5.881, allocations: 0 / 3.481 GB, free: 2.977 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003641/5.882, allocations: 252.9 kB / 3.482 GB, free: 2.727 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/5.882, allocations: 4 kB / 3.482 GB, free: 2.723 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/5.882, allocations: 4 kB / 3.482 GB, free: 2.719 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/5.882, allocations: 0 / 3.482 GB, free: 2.719 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/5.882, allocations: 55.91 kB / 3.482 GB, free: 2.664 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/5.882, allocations: 0 / 3.482 GB, free: 2.664 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/5.882, allocations: 51.8 kB / 3.482 GB, free: 2.613 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/5.883, allocations: 15.94 kB / 3.482 GB, free: 2.598 MB / 1.151 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 () * 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 8.298e-05/5.883, allocations: 121.3 kB / 3.482 GB, free: 2.473 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/5.883, allocations: 43.44 kB / 3.482 GB, free: 2.43 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/5.883, allocations: 253.2 kB / 3.482 GB, free: 2.176 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/5.883, allocations: 4 kB / 3.482 GB, free: 2.172 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/5.883, allocations: 0 / 3.482 GB, free: 2.172 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/5.883, allocations: 0 / 3.482 GB, free: 2.172 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000985/5.884, allocations: 0.7738 MB / 3.483 GB, free: 1.324 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/5.884, allocations: 0 / 3.483 GB, free: 1.324 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/5.884, allocations: 47.91 kB / 3.483 GB, free: 1.277 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/5.884, allocations: 4 kB / 3.483 GB, free: 1.273 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/5.884, allocations: 8 kB / 3.483 GB, free: 1.266 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/5.884, allocations: 11.94 kB / 3.483 GB, free: 1.254 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.884, allocations: 0 / 3.483 GB, free: 1.254 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/5.885, allocations: 0.5251 MB / 3.483 GB, free: 0.6602 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/5.885, allocations: 144.7 kB / 3.484 GB, free: 0.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/5.885, allocations: 11.95 kB / 3.484 GB, free: 500 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/5.886, allocations: 35.95 kB / 3.484 GB, free: 464 kB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/5.886, allocations: 15.98 kB / 3.484 GB, free: 448 kB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/5.886, allocations: 8 kB / 3.484 GB, free: 440 kB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002569/5.886, allocations: 297.2 kB / 3.484 GB, free: 144 kB / 1.151 GB Notification: Performance of sort global known variables: time 4.6e-07/5.886, allocations: 0 / 3.484 GB, free: 144 kB / 1.151 GB Notification: Performance of remove unused functions: time 0.6604/6.546, allocations: 218.8 kB / 3.484 GB, free: 319.4 MB / 1.151 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 () * 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.003272/6.55, allocations: 2.571 MB / 3.487 GB, free: 318 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000439/6.55, allocations: 180.1 kB / 3.487 GB, free: 318 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/6.55, allocations: 0.875 kB / 3.487 GB, free: 318 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/6.55, allocations: 98.23 kB / 3.487 GB, free: 318 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/6.552, allocations: 217.5 kB / 3.487 GB, free: 318 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/6.553, allocations: 0.8007 MB / 3.488 GB, free: 317.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/6.554, allocations: 0.8363 MB / 3.489 GB, free: 317.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003656/6.554, allocations: 83.41 kB / 3.489 GB, free: 317.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/6.554, allocations: 138.3 kB / 3.489 GB, free: 317.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/6.554, allocations: 2.25 kB / 3.489 GB, free: 317.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.085/6.639, allocations: 33.07 MB / 3.521 GB, free: 316.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/6.639, allocations: 183.7 kB / 3.521 GB, free: 316.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/9.694, allocations: 3.031 kB / 3.521 GB, free: 316.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat does not exist to compare? outputFormat=mat