Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.0007647/0.0007645, allocations: 91.22 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.000796/0.0007961, 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.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.441 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.398/2.398, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8125, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3143/1.127, allocations: 278.3 MB / 1.226 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03397/1.161, allocations: 23.81 MB / 1.249 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/1.164, allocations: 75.56 kB / 1.249 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003671/1.168, allocations: 0.8656 MB / 1.25 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6697/1.838, allocations: 2.081 MB / 1.252 GB, free: 32.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006325/1.844, allocations: 1.742 MB / 1.254 GB, free: 32.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00902/1.853, allocations: 4.795 MB / 1.258 GB, free: 32.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/1.856, allocations: 1.195 MB / 1.259 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/1.862, allocations: 1.718 MB / 1.261 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/1.866, allocations: 1.143 MB / 1.262 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006099/1.867, allocations: 65.91 kB / 1.262 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006523/1.873, allocations: 1.655 MB / 1.264 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.874, allocations: 474.5 kB / 1.264 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.876, allocations: 425.7 kB / 1.265 GB, free: 32.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005644/1.881, allocations: 3.05 MB / 1.268 GB, free: 32.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.882, allocations: 0 / 1.268 GB, free: 32.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.564e-06/1.882, allocations: 0 / 1.268 GB, free: 32.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.09e-05/1.882, allocations: 0.9688 kB / 1.268 GB, free: 32.12 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.005003/1.887, allocations: 1.96 MB / 1.27 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.887, allocations: 9.875 kB / 1.27 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/1.887, allocations: 166.4 kB / 1.27 GB, free: 30.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/1.891, allocations: 0.7029 MB / 1.27 GB, free: 30.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/1.896, allocations: 1.93 MB / 1.272 GB, free: 30.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/1.896, allocations: 218 kB / 1.273 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/1.897, allocations: 112.8 kB / 1.273 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/1.9, allocations: 1.438 MB / 1.274 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/1.9, allocations: 9.25 kB / 1.274 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.9, allocations: 47.22 kB / 1.274 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/1.9, allocations: 45.28 kB / 1.274 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/1.903, allocations: 1.163 MB / 1.275 GB, free: 30.06 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.008232/1.911, allocations: 6.983 MB / 1.282 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.913, allocations: 438.7 kB / 1.283 GB, free: 26.22 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/1.913, allocations: 164.8 kB / 1.283 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/1.913, allocations: 193.8 kB / 1.283 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/1.913, allocations: 34.03 kB / 1.283 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007708/1.914, allocations: 73.22 kB / 1.283 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/1.914, allocations: 2.734 kB / 1.283 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001728/1.916, allocations: 0.6253 MB / 1.284 GB, free: 25.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/1.916, allocations: 57.97 kB / 1.284 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/1.918, allocations: 1.717 MB / 1.285 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/1.918, allocations: 35.08 kB / 1.285 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/1.919, allocations: 0.8361 MB / 1.286 GB, free: 25.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/1.919, allocations: 76.34 kB / 1.286 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/1.919, allocations: 17.81 kB / 1.286 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/1.919, allocations: 331.4 kB / 1.287 GB, free: 24.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/1.92, allocations: 318.2 kB / 1.287 GB, free: 24.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/1.921, allocations: 0.6939 MB / 1.288 GB, free: 24.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/1.922, allocations: 403.1 kB / 1.288 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.922, allocations: 3.594 kB / 1.288 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002434/1.924, allocations: 1.096 MB / 1.289 GB, free: 24.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/1.924, allocations: 447.8 kB / 1.289 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.924, allocations: 11.72 kB / 1.289 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.924, allocations: 17.56 kB / 1.29 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/1.925, allocations: 218.5 kB / 1.29 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/1.925, allocations: 23.72 kB / 1.29 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.927, allocations: 189.1 kB / 1.29 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/1.927, allocations: 44.53 kB / 1.29 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.927, allocations: 3.469 kB / 1.29 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/1.929, allocations: 0.8722 MB / 1.291 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.929, allocations: 14.44 kB / 1.291 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.929, allocations: 18.59 kB / 1.291 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/1.93, allocations: 206.9 kB / 1.291 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/1.93, allocations: 28.2 kB / 1.291 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.931, allocations: 143.3 kB / 1.291 GB, free: 23.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/1.931, allocations: 39.45 kB / 1.291 GB, free: 23.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008917/1.932, allocations: 0.5182 MB / 1.292 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/1.932, allocations: 161.5 kB / 1.292 GB, free: 23.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.933, allocations: 499.1 kB / 1.292 GB, free: 23.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.933, allocations: 3.125 kB / 1.292 GB, free: 23.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.933, allocations: 3.953 kB / 1.292 GB, free: 23.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.933, allocations: 3.094 kB / 1.292 GB, free: 23.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.002752/1.936, allocations: 1.615 MB / 1.294 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.936, allocations: 4.688 kB / 1.294 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/1.937, allocations: 69.27 kB / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/1.937, allocations: 8.406 kB / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/1.937, allocations: 2.906 kB / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.937, allocations: 4.812 kB / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.937, allocations: 3.531 kB / 1.294 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.938, allocations: 0.6249 MB / 1.295 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/1.938, allocations: 299.8 kB / 1.295 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.938, allocations: 2.562 kB / 1.295 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008438/1.939, allocations: 91.05 kB / 1.295 GB, free: 22.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/1.939, allocations: 24.81 kB / 1.295 GB, free: 22.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/1.939, allocations: 14.73 kB / 1.295 GB, free: 22.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001739/1.941, allocations: 1.194 MB / 1.296 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.941, allocations: 0 / 1.296 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002053/1.943, allocations: 0.6763 MB / 1.297 GB, free: 22.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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.00179/1.945, allocations: 1.358 MB / 1.298 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002571/1.948, allocations: 1.047 MB / 1.299 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.948, allocations: 0 / 1.299 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/1.948, allocations: 162.6 kB / 1.299 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.952, allocations: 0.813 MB / 1.3 GB, free: 21.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/1.975, allocations: 9.416 MB / 1.309 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/1.976, allocations: 1.289 MB / 1.311 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001926/1.978, allocations: 346.6 kB / 1.311 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/1.979, allocations: 0.5963 MB / 1.312 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.979, allocations: 2.781 kB / 1.312 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06837/2.047, allocations: 42.66 MB / 1.353 GB, free: 15.67 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/2.047, allocations: 193.4 kB / 1.353 GB, free: 15.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/4.762, allocations: 4 kB / 1.353 GB, free: 15.42 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat does not exist to compare? outputFormat=mat