Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.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.HeaterFan,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan",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.0009938/0.0009937, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001228/0.001228, allocations: 172.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.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.449 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.411/2.411, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8045, allocations: 142.3 MB / 0.9538 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3128/1.117, allocations: 285.6 MB / 1.233 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.79/1.907, allocations: 25.58 MB / 1.258 GB, free: 32.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/1.911, allocations: 73.56 kB / 1.258 GB, free: 32.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/1.915, allocations: 0.9655 MB / 1.259 GB, free: 32.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007758/1.922, allocations: 2.199 MB / 1.261 GB, free: 32.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006029/1.928, allocations: 1.741 MB / 1.263 GB, free: 32.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009281/1.938, allocations: 5.128 MB / 1.268 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00426/1.942, allocations: 1.39 MB / 1.269 GB, free: 32.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/1.949, allocations: 1.809 MB / 1.271 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/1.953, allocations: 1.258 MB / 1.272 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008289/1.954, allocations: 66.59 kB / 1.272 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008045/1.962, allocations: 2.017 MB / 1.274 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001439/1.963, allocations: 493.4 kB / 1.274 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/1.965, allocations: 460.6 kB / 1.275 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006608/1.972, allocations: 3.408 MB / 1.278 GB, free: 31.74 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.972, allocations: 0.9688 kB / 1.278 GB, free: 31.74 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.972, allocations: 0 / 1.278 GB, free: 31.74 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001478/1.972, allocations: 0 / 1.278 GB, free: 31.74 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006665/1.979, allocations: 2.121 MB / 1.28 GB, free: 30.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/1.979, allocations: 9.812 kB / 1.28 GB, free: 30.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000752/1.979, allocations: 190 kB / 1.28 GB, free: 30.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006194/1.986, allocations: 0.9545 MB / 1.281 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/1.991, allocations: 2.01 MB / 1.283 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/1.992, allocations: 239.5 kB / 1.284 GB, free: 29.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/1.992, allocations: 131.2 kB / 1.284 GB, free: 29.92 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003592/1.996, allocations: 1.693 MB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/1.996, allocations: 2.906 kB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.996, allocations: 53.66 kB / 1.285 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/1.996, allocations: 50.02 kB / 1.285 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/1.999, allocations: 1.607 MB / 1.287 GB, free: 29.68 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.01038/2.01, allocations: 7.487 MB / 1.294 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/2.012, allocations: 0.7141 MB / 1.295 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/2.013, allocations: 336.4 kB / 1.295 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/2.013, allocations: 190.7 kB / 1.296 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/2.013, allocations: 42.83 kB / 1.296 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001029/2.014, allocations: 91.12 kB / 1.296 GB, free: 25.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 4.539e-06/2.014, allocations: 0 / 1.296 GB, free: 25.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.003515/2.018, allocations: 1.424 MB / 1.297 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/2.018, allocations: 58.34 kB / 1.297 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/2.021, allocations: 1.849 MB / 1.299 GB, free: 25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/2.022, allocations: 36.8 kB / 1.299 GB, free: 24.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/2.022, allocations: 0.8139 MB / 1.3 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/2.022, allocations: 137.7 kB / 1.3 GB, free: 24.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/2.023, allocations: 15.34 kB / 1.3 GB, free: 24.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/2.023, allocations: 327.5 kB / 1.3 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/2.024, allocations: 450.9 kB / 1.301 GB, free: 24.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/2.025, allocations: 0.6751 MB / 1.301 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/2.026, allocations: 488.8 kB / 1.302 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/2.027, allocations: 2.312 kB / 1.302 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00343/2.03, allocations: 1.461 MB / 1.303 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/2.03, allocations: 274.1 kB / 1.303 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/2.03, allocations: 12.17 kB / 1.303 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/2.03, allocations: 69.06 kB / 1.304 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/2.031, allocations: 228.2 kB / 1.304 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/2.033, allocations: 2.817 MB / 1.306 GB, free: 20.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/2.036, allocations: 287.4 kB / 1.307 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/2.036, allocations: 36.61 kB / 1.307 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/2.036, allocations: 2.906 kB / 1.307 GB, free: 20.57 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002601/2.038, allocations: 1.216 MB / 1.308 GB, free: 20.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/2.038, allocations: 8.969 kB / 1.308 GB, free: 20.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/2.039, allocations: 62.14 kB / 1.308 GB, free: 20.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/2.04, allocations: 219.2 kB / 1.308 GB, free: 20.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/2.041, allocations: 2.819 MB / 1.311 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/2.043, allocations: 225.5 kB / 1.311 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/2.043, allocations: 36.11 kB / 1.311 GB, free: 17.59 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001174/2.045, allocations: 0.5149 MB / 1.312 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/2.045, allocations: 168.2 kB / 1.312 GB, free: 17.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/2.047, allocations: 1.005 MB / 1.313 GB, free: 17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/2.047, allocations: 5.062 kB / 1.313 GB, free: 17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/2.047, allocations: 0 / 1.313 GB, free: 17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.048, allocations: 5.469 kB / 1.313 GB, free: 17 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.004625/2.052, allocations: 2.26 MB / 1.315 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/2.052, allocations: 7.156 kB / 1.315 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/2.053, allocations: 108.1 kB / 1.315 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/2.053, allocations: 54.41 kB / 1.315 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/2.053, allocations: 13.73 kB / 1.315 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/2.054, allocations: 2.832 MB / 1.318 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.055, allocations: 1.969 kB / 1.318 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/2.056, allocations: 1.054 MB / 1.319 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/2.057, allocations: 331.4 kB / 1.319 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/2.058, allocations: 9.594 kB / 1.319 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/2.059, allocations: 152.9 kB / 1.32 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/2.059, allocations: 36.97 kB / 1.32 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/2.059, allocations: 17.86 kB / 1.32 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002676/2.062, allocations: 1.312 MB / 1.321 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/2.062, allocations: 0 / 1.321 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00358/2.066, allocations: 0.7647 MB / 1.322 GB, free: 12.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003026/2.069, allocations: 1.825 MB / 1.323 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00415/2.073, allocations: 1.823 MB / 1.325 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/2.073, allocations: 4.125 kB / 1.325 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/2.074, allocations: 0.5291 MB / 1.326 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/2.079, allocations: 0.9535 MB / 1.327 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/2.11, allocations: 10.8 MB / 1.337 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/2.112, allocations: 1.343 MB / 1.339 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002562/2.114, allocations: 381.2 kB / 1.339 GB, free: 6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/2.115, allocations: 0.6521 MB / 1.34 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/2.115, allocations: 3.219 kB / 1.34 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09351/2.209, allocations: 49.47 MB / 1.388 GB, free: 4.074 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/2.209, allocations: 206.4 kB / 1.388 GB, free: 3.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/5.065, allocations: 0 / 1.388 GB, free: 3.828 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat does not exist to compare? outputFormat=mat