Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.187/2.187, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001056/0.001056, allocations: 181 kB / 498.1 MB, free: 5.762 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.485/1.485, allocations: 223.1 MB / 0.7948 GB, free: 18.93 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.0009052/0.0009052, allocations: 100.1 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 9.875 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2438, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.4307, allocations: 151.5 MB / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4311, allocations: 91.94 kB / 1.371 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.4474, allocations: 5.317 MB / 1.376 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4474, allocations: 0 / 1.376 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.4474, allocations: 4 kB / 1.376 GB, free: 12.35 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001025/0.4485, allocations: 0.5294 MB / 1.377 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4485, allocations: 12.03 kB / 1.377 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.4486, allocations: 30.56 kB / 1.377 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.4487, allocations: 19.77 kB / 1.377 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.4494, allocations: 425.6 kB / 1.377 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4494, allocations: 0 / 1.377 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.4495, allocations: 4 kB / 1.377 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.4497, allocations: 77.58 kB / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4497, allocations: 4 kB / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4497, allocations: 0 / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4497, allocations: 7.984 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.45, allocations: 75.92 kB / 1.377 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4504, allocations: 297.5 kB / 1.378 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.4507, allocations: 114.5 kB / 1.378 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.4508, allocations: 12.14 kB / 1.378 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4508, allocations: 38.5 kB / 1.378 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.4508, allocations: 0 / 1.378 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004919/0.4513, allocations: 177.3 kB / 1.378 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4514, allocations: 51.41 kB / 1.378 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.4519, allocations: 456 kB / 1.378 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.452, allocations: 25.7 kB / 1.378 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.4521, allocations: 132.1 kB / 1.379 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.4521, allocations: 3.906 kB / 1.379 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4521, allocations: 0 / 1.379 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4523, allocations: 338.8 kB / 1.379 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4524, allocations: 39.95 kB / 1.379 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.4526, allocations: 66.47 kB / 1.379 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.4527, allocations: 48.17 kB / 1.379 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4527, allocations: 0 / 1.379 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003043/0.453, allocations: 141.4 kB / 1.379 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.453, allocations: 4.625 kB / 1.379 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4531, allocations: 0 / 1.379 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4531, allocations: 0 / 1.379 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.4532, allocations: 15.98 kB / 1.379 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4532, allocations: 8 kB / 1.379 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.4533, allocations: 15.98 kB / 1.379 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.4534, allocations: 8 kB / 1.379 GB, free: 8.988 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001209/0.4535, allocations: 133.7 kB / 1.379 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.4535, allocations: 19.72 kB / 1.379 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.454, allocations: 166.8 kB / 1.38 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.454, allocations: 0 / 1.38 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.454, allocations: 0 / 1.38 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.454, allocations: 3.984 kB / 1.38 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.4542, allocations: 229.5 kB / 1.38 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4543, allocations: 0 / 1.38 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.4543, allocations: 19.98 kB / 1.38 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.4544, allocations: 4 kB / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4544, allocations: 0 / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4544, allocations: 0 / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4544, allocations: 0 / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.4547, allocations: 168.9 kB / 1.38 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.455, allocations: 132.8 kB / 1.38 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.455, allocations: 0 / 1.38 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.4551, allocations: 11.98 kB / 1.38 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.4552, allocations: 4 kB / 1.38 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4552, allocations: 4 kB / 1.38 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004472/0.4557, allocations: 376.3 kB / 1.38 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4557, allocations: 4 kB / 1.38 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004578/0.4561, allocations: 95.86 kB / 1.381 GB, free: 7.543 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.001033/0.4572, allocations: 0.764 MB / 1.381 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.4575, allocations: 83.94 kB / 1.381 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4575, allocations: 4 kB / 1.381 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.4576, allocations: 39.97 kB / 1.381 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.4578, allocations: 16.5 kB / 1.381 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.461, allocations: 1.696 MB / 1.383 GB, free: 4.859 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.4614, allocations: 0.7321 MB / 1.384 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.4616, allocations: 64.84 kB / 1.384 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4619, allocations: 75.33 kB / 1.384 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of SimCode: time 1.693e-06/0.4619, allocations: 3.938 kB / 1.384 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.4831, allocations: 4.99 MB / 1.389 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.4834, allocations: 195.1 kB / 1.389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.248, allocations: 3.375 kB / 1.389 GB, free: 14.92 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat does not exist to compare? outputFormat=mat