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.001069/0.001069, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.00138/0.00138, allocations: 168.7 kB / 15.95 MB, free: 204 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.406 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.539/2.539, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7668, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.3225/1.089, allocations: 285.4 MB / 1.233 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7799/1.869, allocations: 25.58 MB / 1.258 GB, free: 32.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/1.873, allocations: 66.03 kB / 1.258 GB, free: 32.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003784/1.876, allocations: 0.9754 MB / 1.259 GB, free: 32.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006614/1.883, allocations: 2.196 MB / 1.261 GB, free: 32.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00555/1.889, allocations: 1.756 MB / 1.262 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008844/1.897, allocations: 5.124 MB / 1.267 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/1.901, allocations: 1.401 MB / 1.269 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00536/1.907, allocations: 1.809 MB / 1.271 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/1.91, allocations: 1.261 MB / 1.272 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005782/1.91, allocations: 67.81 kB / 1.272 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006187/1.917, allocations: 2.009 MB / 1.274 GB, free: 32.1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/1.918, allocations: 494.5 kB / 1.274 GB, free: 32.1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/1.919, allocations: 468.5 kB / 1.275 GB, free: 32.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005659/1.925, allocations: 3.417 MB / 1.278 GB, free: 31.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.925, allocations: 0 / 1.278 GB, free: 31.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.475e-06/1.925, allocations: 0.9062 kB / 1.278 GB, free: 31.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001294/1.925, allocations: 0 / 1.278 GB, free: 31.85 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.005612/1.931, allocations: 2.125 MB / 1.28 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.931, allocations: 9.719 kB / 1.28 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005534/1.931, allocations: 189.4 kB / 1.28 GB, free: 30.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005888/1.937, allocations: 0.9582 MB / 1.281 GB, free: 30.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/1.942, allocations: 2.008 MB / 1.283 GB, free: 30.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/1.943, allocations: 240.5 kB / 1.283 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/1.943, allocations: 132.6 kB / 1.284 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/1.948, allocations: 1.714 MB / 1.285 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/1.948, allocations: 2.906 kB / 1.285 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/1.948, allocations: 52.38 kB / 1.285 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/1.948, allocations: 45.97 kB / 1.285 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/1.952, allocations: 1.622 MB / 1.287 GB, free: 29.78 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.01274/1.965, allocations: 7.643 MB / 1.294 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/1.969, allocations: 1.227 MB / 1.296 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.97, allocations: 489 kB / 1.296 GB, free: 25.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/1.97, allocations: 201.6 kB / 1.296 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.97, allocations: 40.03 kB / 1.296 GB, free: 25.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001272/1.971, allocations: 152 kB / 1.296 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=38): time 4.739e-06/1.972, allocations: 0 / 1.296 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.004215/1.976, allocations: 1.421 MB / 1.298 GB, free: 25.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.976, allocations: 54.38 kB / 1.298 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/1.978, allocations: 1.591 MB / 1.299 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/1.978, allocations: 34.89 kB / 1.3 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/1.979, allocations: 0.8288 MB / 1.3 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.979, allocations: 135.5 kB / 1.3 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/1.979, allocations: 10.16 kB / 1.3 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/1.979, allocations: 333.5 kB / 1.301 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/1.98, allocations: 460.9 kB / 1.301 GB, free: 24.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.982, allocations: 0.6874 MB / 1.302 GB, free: 24.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.983, allocations: 496.2 kB / 1.302 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.983, allocations: 0 / 1.302 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00311/1.986, allocations: 1.256 MB / 1.304 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/1.986, allocations: 278.6 kB / 1.304 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.986, allocations: 9.375 kB / 1.304 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/1.986, allocations: 10.94 kB / 1.304 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.987, allocations: 255.4 kB / 1.304 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003212/1.988, allocations: 0.6037 MB / 1.305 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.99, allocations: 202.2 kB / 1.305 GB, free: 23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/1.99, allocations: 38.77 kB / 1.305 GB, free: 23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/1.99, allocations: 3.312 kB / 1.305 GB, free: 23 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002379/1.992, allocations: 1.028 MB / 1.306 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/1.992, allocations: 5.844 kB / 1.306 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.992, allocations: 19.17 kB / 1.306 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/1.993, allocations: 222.7 kB / 1.306 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.993, allocations: 13.75 kB / 1.306 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.995, allocations: 187.3 kB / 1.306 GB, free: 22.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/1.995, allocations: 29.66 kB / 1.306 GB, free: 22.92 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.001051/1.996, allocations: 0.5194 MB / 1.307 GB, free: 22.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/1.997, allocations: 157.6 kB / 1.307 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/2, allocations: 1.065 MB / 1.308 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/2, allocations: 7.188 kB / 1.308 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/2, allocations: 2.969 kB / 1.308 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2, allocations: 2.156 kB / 1.308 GB, free: 22.54 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.005924/2.006, allocations: 2.51 MB / 1.311 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/2.006, allocations: 1.75 kB / 1.311 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/2.007, allocations: 185.7 kB / 1.311 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/2.007, allocations: 7.531 kB / 1.311 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/2.007, allocations: 11.25 kB / 1.311 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002195/2.007, allocations: 0.6001 MB / 1.311 GB, free: 21.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.007, allocations: 3.562 kB / 1.311 GB, free: 21.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/2.01, allocations: 1.124 MB / 1.312 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009273/2.011, allocations: 331 kB / 1.313 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/2.011, allocations: 19.03 kB / 1.313 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/2.013, allocations: 155.9 kB / 1.313 GB, free: 21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/2.013, allocations: 35.83 kB / 1.313 GB, free: 21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/2.013, allocations: 26.05 kB / 1.313 GB, free: 21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001967/2.015, allocations: 1.099 MB / 1.314 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/2.015, allocations: 3.938 kB / 1.314 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002895/2.018, allocations: 0.7539 MB / 1.315 GB, free: 20.78 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.003643/2.021, allocations: 1.9 MB / 1.317 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004358/2.026, allocations: 1.533 MB / 1.318 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.026, allocations: 0 / 1.318 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/2.027, allocations: 462.8 kB / 1.319 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/2.032, allocations: 0.9141 MB / 1.319 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/2.062, allocations: 10.77 MB / 1.33 GB, free: 16.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/2.063, allocations: 1.342 MB / 1.331 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00246/2.066, allocations: 379.4 kB / 1.332 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/2.067, allocations: 0.6613 MB / 1.332 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of SimCode: time 1.794e-06/2.067, allocations: 0 / 1.332 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08091/2.148, allocations: 47.44 MB / 1.379 GB, free: 14.51 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/2.148, allocations: 223.9 kB / 1.379 GB, free: 14.26 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/5.103, allocations: 1.859 kB / 1.379 GB, free: 14.26 MB / 1.029 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