Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7547, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.2943/1.049, allocations: 253 MB / 1.201 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03693/1.086, allocations: 24.03 MB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/1.089, allocations: 67.56 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003962/1.093, allocations: 1.003 MB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/1.104, allocations: 2.953 MB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007403/1.111, allocations: 1.92 MB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007702/1.119, allocations: 2.85 MB / 1.233 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/1.122, allocations: 1.428 MB / 1.234 GB, free: 224 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/1.127, allocations: 1.608 MB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/1.129, allocations: 0.875 MB / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/1.129, allocations: 68 kB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004458/1.134, allocations: 1.665 MB / 1.238 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006345/1.135, allocations: 454.4 kB / 1.239 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000853/1.135, allocations: 464.6 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/1.14, allocations: 3.234 MB / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/1.14, allocations: 0 / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/1.14, allocations: 0 / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.758e-05/1.14, allocations: 0 / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004193/1.144, allocations: 2.072 MB / 1.244 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.144, allocations: 8.031 kB / 1.244 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/1.145, allocations: 198.3 kB / 1.245 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005893/1.15, allocations: 0.9458 MB / 1.245 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/1.155, allocations: 2.004 MB / 1.247 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007589/1.156, allocations: 234.5 kB / 1.248 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/1.156, allocations: 136 kB / 1.248 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/1.16, allocations: 1.705 MB / 1.249 GB, free: 368 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.16, allocations: 4 kB / 1.249 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/1.16, allocations: 52 kB / 1.249 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/1.16, allocations: 46.53 kB / 1.25 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6807/1.841, allocations: 1.613 MB / 1.251 GB, free: 39.69 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01336/1.854, allocations: 7.641 MB / 1.259 GB, free: 36.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/1.858, allocations: 1.233 MB / 1.26 GB, free: 36.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/1.858, allocations: 17.16 kB / 1.26 GB, free: 36.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.859, allocations: 36.64 kB / 1.26 GB, free: 36.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001144/1.86, allocations: 156.7 kB / 1.26 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/1.86, allocations: 0 / 1.26 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.005193/1.865, allocations: 1.425 MB / 1.261 GB, free: 35.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.865, allocations: 55.53 kB / 1.261 GB, free: 35.72 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/1.868, allocations: 1.577 MB / 1.263 GB, free: 35.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/1.868, allocations: 40.23 kB / 1.263 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/1.869, allocations: 0.8382 MB / 1.264 GB, free: 35.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.869, allocations: 135.7 kB / 1.264 GB, free: 35.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/1.869, allocations: 10.47 kB / 1.264 GB, free: 35.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/1.869, allocations: 334.5 kB / 1.264 GB, free: 34.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.871, allocations: 457.2 kB / 1.265 GB, free: 34.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/1.872, allocations: 0.6901 MB / 1.265 GB, free: 34.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/1.874, allocations: 493.6 kB / 1.266 GB, free: 34.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.874, allocations: 5.656 kB / 1.266 GB, free: 34.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003652/1.877, allocations: 1.264 MB / 1.267 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005203/1.878, allocations: 2.544 MB / 1.27 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/1.878, allocations: 10.22 kB / 1.27 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/1.878, allocations: 10.06 kB / 1.27 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.88, allocations: 250.9 kB / 1.27 GB, free: 31.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003219/1.88, allocations: 0.6071 MB / 1.27 GB, free: 31.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.882, allocations: 203.9 kB / 1.271 GB, free: 31.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/1.882, allocations: 37.33 kB / 1.271 GB, free: 31.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.882, allocations: 3.469 kB / 1.271 GB, free: 31.05 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002999/1.885, allocations: 1.027 MB / 1.272 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.885, allocations: 9.531 kB / 1.272 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.885, allocations: 9.969 kB / 1.272 GB, free: 31.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.886, allocations: 223.9 kB / 1.272 GB, free: 31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/1.886, allocations: 13.34 kB / 1.272 GB, free: 31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.888, allocations: 182.1 kB / 1.272 GB, free: 30.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/1.888, allocations: 30.28 kB / 1.272 GB, free: 30.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (73): * Single equations (assignments): 71 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001159/1.889, allocations: 0.5168 MB / 1.273 GB, free: 30.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/1.89, allocations: 165.2 kB / 1.273 GB, free: 30.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/1.894, allocations: 1.07 MB / 1.274 GB, free: 30.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.894, allocations: 3.688 kB / 1.274 GB, free: 30.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.894, allocations: 0.8438 kB / 1.274 GB, free: 30.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.894, allocations: 8.734 kB / 1.274 GB, free: 30.59 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.007302/1.901, allocations: 2.598 MB / 1.276 GB, free: 30.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.901, allocations: 2.188 kB / 1.276 GB, free: 30.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.902, allocations: 185.6 kB / 1.277 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/1.902, allocations: 10.17 kB / 1.277 GB, free: 30.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/1.902, allocations: 12.81 kB / 1.277 GB, free: 30.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003349/1.903, allocations: 0.5947 MB / 1.277 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.903, allocations: 5.625 kB / 1.277 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/1.906, allocations: 1.264 MB / 1.278 GB, free: 29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.907, allocations: 333.6 kB / 1.279 GB, free: 28.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/1.908, allocations: 12.22 kB / 1.279 GB, free: 28.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.91, allocations: 159.1 kB / 1.279 GB, free: 28.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/1.91, allocations: 36.83 kB / 1.279 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/1.91, allocations: 23.81 kB / 1.279 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002817/1.913, allocations: 1.099 MB / 1.28 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.703e-06/1.913, allocations: 0 / 1.28 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003299/1.916, allocations: 0.7506 MB / 1.281 GB, free: 28.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004066/1.92, allocations: 2.448 MB / 1.283 GB, free: 27.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004653/1.925, allocations: 1.548 MB / 1.285 GB, free: 27.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.925, allocations: 3.875 kB / 1.285 GB, free: 27.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.926, allocations: 470.8 kB / 1.285 GB, free: 27.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/1.931, allocations: 0.8788 MB / 1.286 GB, free: 26.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.942, allocations: 9.048 MB / 1.295 GB, free: 20.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.943, allocations: 1.374 MB / 1.296 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002372/1.946, allocations: 380.6 kB / 1.296 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.947, allocations: 0.6664 MB / 1.297 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/1.947, allocations: 0 / 1.297 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/2.053, allocations: 45.89 MB / 1.342 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/2.054, allocations: 220.6 kB / 1.342 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/4.714, allocations: 0 / 1.342 GB, free: 5.492 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat does not exist to compare? outputFormat=mat