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.464/2.464, allocations: 390.5 MB / 398 MB, free: 10.96 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.001165/0.001165, allocations: 185.7 kB / 491.2 MB, free: 1.57 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.58/1.58, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0008948/0.0008949, allocations: 98.17 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.187e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2982, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.18/5.478, allocations: 1.911 GB / 3.123 GB, free: 418.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/5.479, allocations: 89.05 kB / 3.123 GB, free: 418.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6681/6.147, allocations: 356 MB / 3.471 GB, free: 54.88 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.953e-06/6.147, allocations: 4 kB / 3.471 GB, free: 54.88 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.954e-05/6.147, allocations: 15.94 kB / 3.471 GB, free: 54.86 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.001486/6.148, allocations: 0.768 MB / 3.472 GB, free: 54.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/6.148, allocations: 8.031 kB / 3.472 GB, free: 54.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/6.15, allocations: 175.2 kB / 3.472 GB, free: 53.86 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/6.15, allocations: 388.8 kB / 3.472 GB, free: 53.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/6.15, allocations: 15.94 kB / 3.472 GB, free: 53.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/6.15, allocations: 16 kB / 3.472 GB, free: 53.42 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003525/6.151, allocations: 197.5 kB / 3.472 GB, free: 53.22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/6.151, allocations: 314.1 kB / 3.473 GB, free: 52.89 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/6.151, allocations: 0 / 3.473 GB, free: 52.89 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/6.151, allocations: 0 / 3.473 GB, free: 52.89 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/6.151, allocations: 8 kB / 3.473 GB, free: 52.88 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.001658/6.153, allocations: 1.667 MB / 3.474 GB, free: 51.08 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/6.153, allocations: 162.6 kB / 3.474 GB, free: 50.91 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/6.153, allocations: 88.83 kB / 3.475 GB, free: 50.82 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/6.154, allocations: 0.8623 MB / 3.475 GB, free: 49.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/6.154, allocations: 38.56 kB / 3.475 GB, free: 49.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/6.154, allocations: 0 / 3.475 GB, free: 49.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.0007167/6.155, allocations: 263 kB / 3.476 GB, free: 49.47 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/6.155, allocations: 59.41 kB / 3.476 GB, free: 49.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/6.155, allocations: 266.3 kB / 3.476 GB, free: 49.13 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/6.155, allocations: 25.7 kB / 3.476 GB, free: 49.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/6.155, allocations: 212.6 kB / 3.476 GB, free: 48.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/6.155, allocations: 82.75 kB / 3.476 GB, free: 48.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/6.155, allocations: 0 / 3.476 GB, free: 48.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/6.155, allocations: 350.8 kB / 3.477 GB, free: 48.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/6.155, allocations: 60.45 kB / 3.477 GB, free: 48.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/6.156, allocations: 98.03 kB / 3.477 GB, free: 48.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/6.156, allocations: 121.9 kB / 3.477 GB, free: 48.16 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/6.156, allocations: 0 / 3.477 GB, free: 48.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004633/6.156, allocations: 269.9 kB / 3.477 GB, free: 47.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/6.156, allocations: 11.97 kB / 3.477 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/6.156, allocations: 4 kB / 3.477 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/6.156, allocations: 144 / 3.477 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/6.157, allocations: 59.97 kB / 3.477 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/6.157, allocations: 3.938 kB / 3.477 GB, free: 47.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/6.157, allocations: 35.81 kB / 3.477 GB, free: 47.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/6.157, allocations: 11.98 kB / 3.477 GB, free: 47.77 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 6.793e-05/6.157, allocations: 108.9 kB / 3.477 GB, free: 47.65 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004338/6.158, allocations: 249.7 kB / 3.478 GB, free: 47.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/6.158, allocations: 31.62 kB / 3.478 GB, free: 47.37 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/6.158, allocations: 263.1 kB / 3.478 GB, free: 47.11 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/6.158, allocations: 7.938 kB / 3.478 GB, free: 47.11 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/6.158, allocations: 0 / 3.478 GB, free: 47.11 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/6.158, allocations: 7.984 kB / 3.478 GB, free: 47.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/6.159, allocations: 0.7427 MB / 3.479 GB, free: 46.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/6.159, allocations: 4 kB / 3.479 GB, free: 46.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/6.159, allocations: 48.17 kB / 3.479 GB, free: 46.24 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/6.159, allocations: 4 kB / 3.479 GB, free: 46.24 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/6.159, allocations: 11.94 kB / 3.479 GB, free: 46.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/6.159, allocations: 7.938 kB / 3.479 GB, free: 46.22 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.159, allocations: 0 / 3.479 GB, free: 46.22 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/6.16, allocations: 0.5373 MB / 3.479 GB, free: 45.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/6.16, allocations: 132.7 kB / 3.479 GB, free: 45.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/6.16, allocations: 7.938 kB / 3.479 GB, free: 45.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/6.161, allocations: 19.98 kB / 3.479 GB, free: 45.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/6.161, allocations: 23.97 kB / 3.479 GB, free: 45.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/6.161, allocations: 12 kB / 3.479 GB, free: 45.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001672/6.161, allocations: 208.6 kB / 3.48 GB, free: 45.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/6.161, allocations: 0 / 3.48 GB, free: 45.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006263/6.161, allocations: 195.7 kB / 3.48 GB, free: 45.01 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.002546/6.164, allocations: 2.75 MB / 3.482 GB, free: 42.17 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002619/6.164, allocations: 155.9 kB / 3.483 GB, free: 42.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.164, allocations: 64 / 3.483 GB, free: 42.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/6.164, allocations: 99.78 kB / 3.483 GB, free: 41.92 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/6.165, allocations: 148.3 kB / 3.483 GB, free: 41.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/6.167, allocations: 0.7749 MB / 3.484 GB, free: 40.95 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/6.167, allocations: 0.8343 MB / 3.484 GB, free: 40.09 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002766/6.167, allocations: 71.23 kB / 3.484 GB, free: 40.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/6.167, allocations: 123.4 kB / 3.485 GB, free: 39.89 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/6.167, allocations: 0 / 3.485 GB, free: 39.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/6.208, allocations: 17.85 MB / 3.502 GB, free: 22.14 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/6.208, allocations: 168.6 kB / 3.502 GB, free: 21.94 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/8.803, allocations: 7.25 kB / 3.502 GB, free: 21.94 MB / 1.151 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