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.427/2.427, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001199/0.001199, allocations: 164.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001095/0.001095, allocations: 91.95 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.298e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.938/5.218, allocations: 1.911 GB / 3.13 GB, free: 347.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.219, allocations: 84.77 kB / 3.13 GB, free: 347.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.338/6.557, allocations: 360.2 MB / 3.482 GB, free: 328.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.442e-06/6.557, allocations: 0 / 3.482 GB, free: 328.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.921e-05/6.557, allocations: 11.84 kB / 3.482 GB, free: 328.8 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.001405/6.558, allocations: 0.7676 MB / 3.483 GB, free: 328.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/6.558, allocations: 9.719 kB / 3.483 GB, free: 328.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.876e-05/6.558, allocations: 66.45 kB / 3.483 GB, free: 328.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/6.56, allocations: 171 kB / 3.483 GB, free: 328.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/6.56, allocations: 386.2 kB / 3.483 GB, free: 328.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/6.56, allocations: 27.83 kB / 3.483 GB, free: 328.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/6.56, allocations: 40.69 kB / 3.483 GB, free: 328.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/6.561, allocations: 347.9 kB / 3.484 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/6.561, allocations: 5.578 kB / 3.484 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/6.561, allocations: 13.16 kB / 3.484 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/6.561, allocations: 9.938 kB / 3.484 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/6.562, allocations: 219.6 kB / 3.484 GB, free: 328.1 MB / 1.167 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.001915/6.564, allocations: 1.766 MB / 3.486 GB, free: 326.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/6.564, allocations: 176.9 kB / 3.486 GB, free: 326.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/6.564, allocations: 89.59 kB / 3.486 GB, free: 326.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007802/6.565, allocations: 0.8692 MB / 3.487 GB, free: 325.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/6.565, allocations: 40.7 kB / 3.487 GB, free: 325.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 2.565e-06/6.565, allocations: 3.797 kB / 3.487 GB, free: 325.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.0006136/6.566, allocations: 238.4 kB / 3.487 GB, free: 325.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/6.566, allocations: 58.67 kB / 3.487 GB, free: 325.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/6.566, allocations: 361.6 kB / 3.488 GB, free: 325.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/6.566, allocations: 35.28 kB / 3.488 GB, free: 325.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/6.566, allocations: 211.9 kB / 3.488 GB, free: 325.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/6.566, allocations: 88.55 kB / 3.488 GB, free: 325.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/6.566, allocations: 4.625 kB / 3.488 GB, free: 325.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/6.566, allocations: 354.5 kB / 3.488 GB, free: 325.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/6.566, allocations: 61.17 kB / 3.488 GB, free: 325.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/6.567, allocations: 111 kB / 3.488 GB, free: 325.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/6.567, allocations: 83.8 kB / 3.488 GB, free: 325.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.567, allocations: 0.6875 kB / 3.488 GB, free: 325.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004149/6.567, allocations: 252.4 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/6.567, allocations: 6.031 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/6.567, allocations: 4.344 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/6.567, allocations: 6.781 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/6.568, allocations: 51.83 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/6.568, allocations: 5.516 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/6.568, allocations: 48.69 kB / 3.489 GB, free: 325 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/6.568, allocations: 9.438 kB / 3.489 GB, free: 325 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 () * 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 6.578e-05/6.568, allocations: 115.6 kB / 3.489 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/6.568, allocations: 44 kB / 3.489 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/6.569, allocations: 253.3 kB / 3.489 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/6.569, allocations: 5.703 kB / 3.489 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/6.569, allocations: 4.344 kB / 3.489 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/6.569, allocations: 1.266 kB / 3.489 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/6.57, allocations: 0.7741 MB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/6.57, allocations: 1.062 kB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/6.57, allocations: 49.25 kB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/6.57, allocations: 3.156 kB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/6.57, allocations: 7.031 kB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/6.57, allocations: 5.25 kB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/6.57, allocations: 6.125 kB / 3.49 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/6.571, allocations: 0.5201 MB / 3.491 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/6.571, allocations: 143 kB / 3.491 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/6.571, allocations: 7.344 kB / 3.491 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/6.571, allocations: 31.64 kB / 3.491 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/6.571, allocations: 21.36 kB / 3.491 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/6.571, allocations: 11.66 kB / 3.491 GB, free: 324.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003271/6.572, allocations: 294.5 kB / 3.491 GB, free: 324 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/6.572, allocations: 0 / 3.491 GB, free: 324 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008632/6.572, allocations: 220.2 kB / 3.491 GB, free: 324 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 () * 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.002704/6.575, allocations: 2.583 MB / 3.494 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003829/6.576, allocations: 176 kB / 3.494 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/6.576, allocations: 3.188 kB / 3.494 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/6.576, allocations: 100.9 kB / 3.494 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/6.577, allocations: 206.5 kB / 3.494 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/6.579, allocations: 0.806 MB / 3.495 GB, free: 322.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/6.579, allocations: 0.8354 MB / 3.496 GB, free: 321.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003442/6.579, allocations: 83.03 kB / 3.496 GB, free: 321.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/6.579, allocations: 134.7 kB / 3.496 GB, free: 321.6 MB / 1.167 GB Notification: Performance of SimCode: time 4.21e-07/6.579, allocations: 3.188 kB / 3.496 GB, free: 321.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07709/6.657, allocations: 33.06 MB / 3.528 GB, free: 321.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/6.657, allocations: 189.1 kB / 3.528 GB, free: 321 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.154/9.811, allocations: 0 / 3.528 GB, free: 321 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