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.0009994/0.0009998, allocations: 100.1 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.00106/0.00106, allocations: 177.3 kB / 15.95 MB, free: 216 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.422/2.422, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003622, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.801, allocations: 142.3 MB / 0.9536 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.2876/1.089, allocations: 253.1 MB / 1.201 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03156/1.12, allocations: 24.03 MB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/1.123, allocations: 63.56 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003861/1.127, allocations: 1.011 MB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00925/1.137, allocations: 2.949 MB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005832/1.142, allocations: 1.922 MB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006415/1.149, allocations: 2.851 MB / 1.233 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/1.151, allocations: 1.416 MB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/1.155, allocations: 1.612 MB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.156, allocations: 0.875 MB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/1.157, allocations: 68 kB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/1.16, allocations: 1.673 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005168/1.161, allocations: 454.5 kB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006133/1.162, allocations: 460.6 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/1.166, allocations: 3.222 MB / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/1.166, allocations: 0 / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.166, allocations: 4 kB / 1.242 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.892e-05/1.166, allocations: 0 / 1.242 GB, free: 7.742 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.003893/1.17, allocations: 2.064 MB / 1.244 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.17, allocations: 8.031 kB / 1.244 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003114/1.17, allocations: 194.2 kB / 1.245 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005574/1.176, allocations: 0.9497 MB / 1.246 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/1.18, allocations: 1.993 MB / 1.247 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000673/1.181, allocations: 238.4 kB / 1.248 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/1.181, allocations: 128 kB / 1.248 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/1.184, allocations: 1.692 MB / 1.249 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.185, allocations: 3.938 kB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/1.185, allocations: 55.98 kB / 1.25 GB, free: 244 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/1.185, allocations: 50.45 kB / 1.25 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7182/1.903, allocations: 1.61 MB / 1.251 GB, free: 39.6 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.01203/1.915, allocations: 7.47 MB / 1.258 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/1.918, allocations: 0.8374 MB / 1.259 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/1.918, allocations: 14.53 kB / 1.259 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.918, allocations: 40.61 kB / 1.259 GB, free: 36.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007857/1.919, allocations: 88.22 kB / 1.259 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/1.919, allocations: 0 / 1.259 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.003505/1.922, allocations: 1.215 MB / 1.261 GB, free: 35.81 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/1.922, allocations: 58.31 kB / 1.261 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/1.926, allocations: 1.856 MB / 1.262 GB, free: 35.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/1.926, allocations: 36.64 kB / 1.262 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/1.926, allocations: 0.8183 MB / 1.263 GB, free: 35.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/1.927, allocations: 136.9 kB / 1.263 GB, free: 35.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/1.927, allocations: 12.69 kB / 1.263 GB, free: 35.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.847e-05/1.927, allocations: 331.9 kB / 1.264 GB, free: 34.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.928, allocations: 447.7 kB / 1.264 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/1.93, allocations: 0.6762 MB / 1.265 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.931, allocations: 486 kB / 1.265 GB, free: 34.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.931, allocations: 1.188 kB / 1.265 GB, free: 34.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003815/1.935, allocations: 1.357 MB / 1.267 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004794/1.936, allocations: 2.559 MB / 1.269 GB, free: 31.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.936, allocations: 5.375 kB / 1.269 GB, free: 31.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/1.936, allocations: 35.31 kB / 1.269 GB, free: 31.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.937, allocations: 239.8 kB / 1.269 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008856/1.938, allocations: 1.4 MB / 1.271 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.941, allocations: 294.1 kB / 1.271 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.941, allocations: 38.72 kB / 1.271 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/1.941, allocations: 4.156 kB / 1.271 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/1.944, allocations: 1.111 MB / 1.272 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.944, allocations: 6.719 kB / 1.272 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/1.944, allocations: 37.81 kB / 1.272 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.945, allocations: 222.2 kB / 1.272 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008017/1.946, allocations: 1.409 MB / 1.274 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/1.948, allocations: 224.8 kB / 1.274 GB, free: 28.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/1.948, allocations: 31.28 kB / 1.274 GB, free: 28.65 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 (71): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001047/1.949, allocations: 0.5157 MB / 1.275 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/1.95, allocations: 172.5 kB / 1.275 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.952, allocations: 0.9075 MB / 1.276 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.952, allocations: 3.312 kB / 1.276 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.952, allocations: 0.7188 kB / 1.276 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.952, allocations: 4.062 kB / 1.276 GB, free: 28.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.004477/1.956, allocations: 2.315 MB / 1.278 GB, free: 27.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.956, allocations: 2.125 kB / 1.278 GB, free: 27.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/1.957, allocations: 115.1 kB / 1.278 GB, free: 27.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.521e-05/1.957, allocations: 35.8 kB / 1.278 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/1.957, allocations: 11.56 kB / 1.278 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007757/1.958, allocations: 1.403 MB / 1.279 GB, free: 26.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.958, allocations: 6.078 kB / 1.279 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/1.96, allocations: 1.094 MB / 1.28 GB, free: 25.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/1.961, allocations: 342.1 kB / 1.281 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.961, allocations: 10.69 kB / 1.281 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.963, allocations: 155.4 kB / 1.281 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/1.963, allocations: 24.94 kB / 1.281 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/1.963, allocations: 21.47 kB / 1.281 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003094/1.966, allocations: 1.315 MB / 1.282 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.966, allocations: 0 / 1.282 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003313/1.969, allocations: 0.7534 MB / 1.283 GB, free: 25.21 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002784/1.972, allocations: 2.283 MB / 1.285 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004062/1.976, allocations: 1.593 MB / 1.287 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.976, allocations: 0 / 1.287 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/1.977, allocations: 421.5 kB / 1.287 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/1.982, allocations: 0.9549 MB / 1.288 GB, free: 23.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/1.989, allocations: 8.679 MB / 1.297 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/1.99, allocations: 1.377 MB / 1.298 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002118/1.992, allocations: 383.8 kB / 1.298 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/1.993, allocations: 0.657 MB / 1.299 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.993, allocations: 0 / 1.299 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07586/2.069, allocations: 47.75 MB / 1.346 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/2.069, allocations: 194 kB / 1.346 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/4.81, allocations: 0 / 1.346 GB, free: 1.07 MB / 0.9981 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