Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001284/0.001284, allocations: 99.94 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.001462/0.001462, 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.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7331, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.019/1.752, allocations: 305.5 MB / 1.252 GB, free: 22.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05098/1.803, allocations: 39.53 MB / 1.291 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008423/1.811, allocations: 141.1 kB / 1.291 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009517/1.821, allocations: 2.282 MB / 1.293 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02921/1.85, allocations: 7.038 MB / 1.3 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01204/1.862, allocations: 3.449 MB / 1.303 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0166/1.879, allocations: 6.716 MB / 1.31 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00798/1.887, allocations: 3.999 MB / 1.314 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01259/1.899, allocations: 4.259 MB / 1.318 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006225/1.906, allocations: 2.249 MB / 1.32 GB, free: 21.63 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/1.907, allocations: 168.3 kB / 1.32 GB, free: 21.63 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/1.918, allocations: 2.907 MB / 1.323 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002785/1.92, allocations: 1.219 MB / 1.324 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003075/1.923, allocations: 1.001 MB / 1.325 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/1.935, allocations: 6.303 MB / 1.331 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.935, allocations: 0 / 1.331 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.436e-06/1.935, allocations: 2.938 kB / 1.331 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003037/1.935, allocations: 0 / 1.331 GB, free: 21.13 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: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01286/1.948, allocations: 4.667 MB / 1.336 GB, free: 18.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.948, allocations: 12.48 kB / 1.336 GB, free: 18.42 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001956/1.95, allocations: 468.5 kB / 1.336 GB, free: 18.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/1.963, allocations: 2.094 MB / 1.338 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008751/1.972, allocations: 3.55 MB / 1.342 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001793/1.973, allocations: 0.693 MB / 1.342 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/1.975, allocations: 338.4 kB / 1.343 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/1.985, allocations: 4.635 MB / 1.347 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.257e-05/1.985, allocations: 2.625 kB / 1.347 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/1.986, allocations: 141.6 kB / 1.347 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.986, allocations: 138.2 kB / 1.348 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/1.997, allocations: 4.295 MB / 1.352 GB, free: 13.71 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.03157/2.028, allocations: 19.02 MB / 1.37 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/2.033, allocations: 2.165 MB / 1.372 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/2.034, allocations: 177.8 kB / 1.373 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00291/2.037, allocations: 1.326 MB / 1.374 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001957/2.038, allocations: 172.7 kB / 1.374 GB, free: 344 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=135): time 6.211e-06/2.039, allocations: 0 / 1.374 GB, free: 344 kB / 0.9981 GB Notification: Performance of matching and sorting (n=135): time 0.009626/2.048, allocations: 3.486 MB / 1.378 GB, free: 15.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/2.048, allocations: 228 kB / 1.378 GB, free: 15.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006119/2.054, allocations: 3.638 MB / 1.381 GB, free: 14.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004942/2.055, allocations: 56.48 kB / 1.381 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/2.057, allocations: 2.018 MB / 1.383 GB, free: 13.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006636/2.058, allocations: 472.3 kB / 1.384 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/2.058, allocations: 37.78 kB / 1.384 GB, free: 13.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001697/2.058, allocations: 375.1 kB / 1.384 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/2.061, allocations: 1.202 MB / 1.385 GB, free: 12.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/2.065, allocations: 1.827 MB / 1.387 GB, free: 11.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/2.068, allocations: 1.35 MB / 1.388 GB, free: 11.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/2.068, allocations: 5.125 kB / 1.388 GB, free: 11.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008581/2.077, allocations: 3.358 MB / 1.392 GB, free: 10.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.002666/2.08, allocations: 7.257 MB / 1.399 GB, free: 2.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/2.08, allocations: 20 kB / 1.399 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.092e-05/2.08, allocations: 28 kB / 1.399 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/2.083, allocations: 0.6078 MB / 1.399 GB, free: 1.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/2.083, allocations: 33.05 kB / 1.399 GB, free: 1.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/2.089, allocations: 0.6783 MB / 1.4 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/2.089, allocations: 103.6 kB / 1.4 GB, free: 1.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/2.089, allocations: 4 kB / 1.4 GB, free: 1.176 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007855/2.097, allocations: 2.999 MB / 1.403 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.985e-05/2.097, allocations: 16.62 kB / 1.403 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/2.097, allocations: 28 kB / 1.403 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/2.1, allocations: 0.5942 MB / 1.404 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.389e-05/2.1, allocations: 35.67 kB / 1.404 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005184/2.105, allocations: 0.5911 MB / 1.404 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/2.106, allocations: 94.14 kB / 1.404 GB, free: 13.74 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 1 * 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.002793/2.108, allocations: 1.129 MB / 1.406 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/2.11, allocations: 371.3 kB / 1.406 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/2.117, allocations: 2.627 MB / 1.408 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/2.117, allocations: 16 kB / 1.409 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/2.117, allocations: 0 / 1.409 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004207/2.121, allocations: 1.943 MB / 1.41 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/2.14, allocations: 7.983 MB / 1.418 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/2.14, allocations: 12 kB / 1.418 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/2.143, allocations: 406.5 kB / 1.419 GB, free: 2.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/2.143, allocations: 57.58 kB / 1.419 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/2.143, allocations: 51.95 kB / 1.419 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/2.144, allocations: 1.464 MB / 1.42 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.827e-05/2.144, allocations: 17.06 kB / 1.42 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/2.155, allocations: 5.503 MB / 1.426 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/2.157, allocations: 0.6972 MB / 1.426 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/2.158, allocations: 41.8 kB / 1.426 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004333/2.163, allocations: 427.4 kB / 1.427 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/2.163, allocations: 128.2 kB / 1.427 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/2.163, allocations: 74.45 kB / 1.427 GB, free: 10.87 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006981/2.17, allocations: 2.518 MB / 1.429 GB, free: 9.062 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.41e-07/2.17, allocations: 0 / 1.429 GB, free: 9.062 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.009601/2.18, allocations: 2.033 MB / 1.431 GB, free: 7.117 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01564/2.196, allocations: 9.115 MB / 1.44 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01173/2.207, allocations: 4.208 MB / 1.444 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.187e-05/2.207, allocations: 0 / 1.444 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/2.211, allocations: 1.298 MB / 1.446 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/2.222, allocations: 1.905 MB / 1.447 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/2.26, allocations: 22.49 MB / 1.469 GB, free: 3.012 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004511/2.264, allocations: 2.743 MB / 1.472 GB, free: 452 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.006735/2.271, allocations: 1.026 MB / 1.473 GB, free: 15.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003435/2.274, allocations: 1.75 MB / 1.475 GB, free: 15.04 MB / 1.092 GB Notification: Performance of SimCode: time 8.61e-07/2.274, allocations: 4 kB / 1.475 GB, free: 15.04 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/2.447, allocations: 100.3 MB / 1.573 GB, free: 12.03 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/2.447, allocations: 253.7 kB / 1.573 GB, free: 11.69 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.907/7.354, allocations: 2.531 kB / 1.573 GB, free: 11.69 MB / 1.186 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat does not exist to compare? outputFormat=mat