Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",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.468/2.468, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001257/0.001257, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.502/1.502, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 103.8 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.206e-05, allocations: 5.688 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3026, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.204/5.507, allocations: 1.922 GB / 3.128 GB, free: 432.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/5.507, allocations: 92.95 kB / 3.128 GB, free: 432.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.256/7.763, allocations: 0.8055 GB / 3.934 GB, free: 44.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/7.763, allocations: 0 / 3.934 GB, free: 44.86 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.316e-05/7.763, allocations: 35.98 kB / 3.934 GB, free: 44.82 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004345/7.768, allocations: 1.589 MB / 3.935 GB, free: 43.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/7.768, allocations: 8.031 kB / 3.935 GB, free: 43.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/7.771, allocations: 418 kB / 3.936 GB, free: 42.77 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/7.772, allocations: 0.8791 MB / 3.937 GB, free: 41.84 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/7.772, allocations: 32 kB / 3.937 GB, free: 41.81 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/7.772, allocations: 60 kB / 3.937 GB, free: 41.75 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/7.774, allocations: 0.8981 MB / 3.938 GB, free: 40.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/7.775, allocations: 1.024 MB / 3.939 GB, free: 39.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/7.775, allocations: 11.92 kB / 3.939 GB, free: 39.78 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/7.775, allocations: 0 / 3.939 GB, free: 39.78 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/7.775, allocations: 49.98 kB / 3.939 GB, free: 39.73 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.004442/7.78, allocations: 4.822 MB / 3.943 GB, free: 34.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/7.781, allocations: 0.9081 MB / 3.944 GB, free: 33.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/7.782, allocations: 0.5547 MB / 3.945 GB, free: 33 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/7.782, allocations: 0.6812 MB / 3.945 GB, free: 32.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/7.782, allocations: 39.34 kB / 3.946 GB, free: 32.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.427e-06/7.782, allocations: 3.984 kB / 3.946 GB, free: 32.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.003599/7.786, allocations: 2.043 MB / 3.948 GB, free: 30.02 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/7.786, allocations: 64.19 kB / 3.948 GB, free: 29.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/7.786, allocations: 491.7 kB / 3.948 GB, free: 29.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/7.787, allocations: 25.7 kB / 3.948 GB, free: 29.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/7.787, allocations: 448 kB / 3.948 GB, free: 28.98 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/7.787, allocations: 291.7 kB / 3.949 GB, free: 28.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/7.787, allocations: 0 / 3.949 GB, free: 28.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001152/7.787, allocations: 391.5 kB / 3.949 GB, free: 28.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/7.788, allocations: 333.5 kB / 3.949 GB, free: 27.98 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/7.788, allocations: 454 kB / 3.95 GB, free: 27.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/7.789, allocations: 404.4 kB / 3.95 GB, free: 27.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/7.789, allocations: 3.938 kB / 3.95 GB, free: 27.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00136/7.79, allocations: 0.9529 MB / 3.951 GB, free: 26.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/7.79, allocations: 8.25 kB / 3.951 GB, free: 26.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/7.79, allocations: 4 kB / 3.951 GB, free: 26.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/7.79, allocations: 48.83 kB / 3.951 GB, free: 26.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/7.791, allocations: 171.7 kB / 3.951 GB, free: 25.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003919/7.791, allocations: 0.6148 MB / 3.952 GB, free: 25.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/7.792, allocations: 95.81 kB / 3.952 GB, free: 25.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/7.793, allocations: 31.98 kB / 3.952 GB, free: 25.14 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001585/7.793, allocations: 120.7 kB / 3.952 GB, free: 25.01 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001233/7.794, allocations: 0.8588 MB / 3.953 GB, free: 24.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/7.794, allocations: 90.98 kB / 3.953 GB, free: 24.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/7.795, allocations: 0.9508 MB / 3.954 GB, free: 23.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/7.795, allocations: 8 kB / 3.954 GB, free: 23.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/7.796, allocations: 0 / 3.954 GB, free: 23.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/7.797, allocations: 0.9651 MB / 3.955 GB, free: 22.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/7.799, allocations: 2.085 MB / 3.957 GB, free: 19.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/7.799, allocations: 3.984 kB / 3.957 GB, free: 19.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/7.8, allocations: 199.8 kB / 3.957 GB, free: 19.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/7.8, allocations: 0 / 3.957 GB, free: 19.75 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/7.8, allocations: 15.98 kB / 3.957 GB, free: 19.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/7.8, allocations: 4 kB / 3.957 GB, free: 19.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.8, allocations: 0 / 3.957 GB, free: 19.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/7.802, allocations: 1.373 MB / 3.959 GB, free: 18.34 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/7.802, allocations: 256 kB / 3.959 GB, free: 18.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/7.803, allocations: 11.94 kB / 3.959 GB, free: 18.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/7.803, allocations: 75.77 kB / 3.959 GB, free: 17.98 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/7.803, allocations: 40.72 kB / 3.959 GB, free: 17.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/7.804, allocations: 31.98 kB / 3.959 GB, free: 17.91 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003665/7.804, allocations: 379.2 kB / 3.959 GB, free: 17.54 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.804, allocations: 4 kB / 3.959 GB, free: 17.54 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001173/7.805, allocations: 435.9 kB / 3.96 GB, free: 17.11 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.004037/7.809, allocations: 4.043 MB / 3.964 GB, free: 12.94 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001168/7.81, allocations: 0.8251 MB / 3.965 GB, free: 12.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/7.81, allocations: 0 / 3.965 GB, free: 12.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/7.811, allocations: 450.8 kB / 3.965 GB, free: 11.68 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/7.813, allocations: 0.5114 MB / 3.966 GB, free: 11.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/7.817, allocations: 2.142 MB / 3.968 GB, free: 8.992 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/7.817, allocations: 1.144 MB / 3.969 GB, free: 7.82 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001035/7.818, allocations: 267.3 kB / 3.969 GB, free: 7.555 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/7.819, allocations: 391.3 kB / 3.969 GB, free: 7.172 MB / 1.151 GB Notification: Performance of SimCode: time 3.8e-07/7.819, allocations: 0 / 3.969 GB, free: 7.172 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7498/8.568, allocations: 40.68 MB / 4.009 GB, free: 225.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/8.569, allocations: 131.9 kB / 4.009 GB, free: 225 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.463/12.03, allocations: 0 / 4.009 GB, free: 225 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat