Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.001235/0.001235, 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.001294/0.001294, 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.441/1.441, 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.425/2.425, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7567, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.087/1.844, allocations: 313.2 MB / 1.26 GB, free: 25.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04111/1.885, allocations: 34.06 MB / 1.293 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006201/1.891, allocations: 114.8 kB / 1.293 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006074/1.898, allocations: 1.482 MB / 1.295 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01404/1.912, allocations: 4.187 MB / 1.299 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007549/1.919, allocations: 2.218 MB / 1.301 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01185/1.931, allocations: 9.661 MB / 1.31 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004659/1.936, allocations: 2.897 MB / 1.313 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009119/1.945, allocations: 3.73 MB / 1.317 GB, free: 24.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005552/1.95, allocations: 2.434 MB / 1.319 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009427/1.951, allocations: 124 kB / 1.319 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.011/1.962, allocations: 2.864 MB / 1.322 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002168/1.965, allocations: 0.9688 MB / 1.323 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/1.967, allocations: 0.7585 MB / 1.324 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008294/1.975, allocations: 5.032 MB / 1.329 GB, free: 24.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.975, allocations: 0 / 1.329 GB, free: 24.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.445e-06/1.975, allocations: 0 / 1.329 GB, free: 24.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002062/1.975, allocations: 0 / 1.329 GB, free: 24.35 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.007674/1.983, allocations: 3.712 MB / 1.332 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.983, allocations: 9.969 kB / 1.332 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007564/1.984, allocations: 359.7 kB / 1.333 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008073/1.992, allocations: 1.559 MB / 1.334 GB, free: 22.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/1.998, allocations: 2.601 MB / 1.337 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/1.999, allocations: 0.5418 MB / 1.337 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005306/1.999, allocations: 260.8 kB / 1.337 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006608/2.006, allocations: 3.506 MB / 1.341 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/2.006, allocations: 3.984 kB / 1.341 GB, free: 20.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/2.006, allocations: 106.9 kB / 1.341 GB, free: 20.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/2.006, allocations: 105.4 kB / 1.341 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006476/2.013, allocations: 3.267 MB / 1.344 GB, free: 20.12 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.01981/2.033, allocations: 14.52 MB / 1.358 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/2.037, allocations: 1.954 MB / 1.36 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/2.038, allocations: 0.8485 MB / 1.361 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/2.039, allocations: 313 kB / 1.361 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/2.041, allocations: 1 MB / 1.362 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001706/2.042, allocations: 133 kB / 1.363 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=108): time 4.258e-06/2.042, allocations: 0 / 1.363 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108): time 0.006362/2.049, allocations: 2.628 MB / 1.365 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/2.049, allocations: 115.3 kB / 1.365 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/2.053, allocations: 2.852 MB / 1.368 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/2.053, allocations: 52.55 kB / 1.368 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/2.055, allocations: 1.499 MB / 1.369 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/2.055, allocations: 380.9 kB / 1.37 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/2.055, allocations: 24.41 kB / 1.37 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000112/2.055, allocations: 365.9 kB / 1.37 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/2.057, allocations: 0.918 MB / 1.371 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/2.06, allocations: 1.406 MB / 1.372 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/2.062, allocations: 1.047 MB / 1.374 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/2.062, allocations: 0.8438 kB / 1.374 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005723/2.068, allocations: 2.581 MB / 1.376 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002633/2.068, allocations: 463.4 kB / 1.376 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/2.068, allocations: 13.58 kB / 1.376 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/2.068, allocations: 21.78 kB / 1.377 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/2.07, allocations: 482.3 kB / 1.377 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/2.07, allocations: 26.67 kB / 1.377 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/2.074, allocations: 0.5352 MB / 1.378 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/2.074, allocations: 72.91 kB / 1.378 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/2.075, allocations: 5.219 kB / 1.378 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005266/2.08, allocations: 2.324 MB / 1.38 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/2.08, allocations: 9.688 kB / 1.38 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/2.08, allocations: 20.31 kB / 1.38 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/2.082, allocations: 471.7 kB / 1.38 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.697e-05/2.082, allocations: 29.58 kB / 1.38 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/2.086, allocations: 471.2 kB / 1.381 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/2.086, allocations: 71.75 kB / 1.381 GB, free: 3.551 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (177): * Single equations (assignments): 174 * Array equations: 2 * 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.002226/2.088, allocations: 0.8632 MB / 1.382 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007836/2.089, allocations: 283.6 kB / 1.382 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/2.093, allocations: 2.027 MB / 1.384 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/2.093, allocations: 14.72 kB / 1.384 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/2.093, allocations: 3.094 kB / 1.384 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003332/2.097, allocations: 1.598 MB / 1.386 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/2.107, allocations: 5.084 MB / 1.391 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/2.107, allocations: 8 kB / 1.391 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/2.108, allocations: 286.3 kB / 1.391 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/2.109, allocations: 55 kB / 1.391 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/2.109, allocations: 38.16 kB / 1.391 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/2.11, allocations: 1.434 MB / 1.392 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/2.11, allocations: 10.62 kB / 1.392 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006797/2.117, allocations: 2.973 MB / 1.395 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/2.119, allocations: 0.5573 MB / 1.396 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005696/2.119, allocations: 25.94 kB / 1.396 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/2.122, allocations: 329 kB / 1.396 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/2.122, allocations: 95.48 kB / 1.396 GB, free: 9.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/2.122, allocations: 55.58 kB / 1.396 GB, free: 9.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004074/2.126, allocations: 1.981 MB / 1.398 GB, free: 7.648 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.81e-07/2.127, allocations: 0 / 1.398 GB, free: 7.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005671/2.132, allocations: 1.548 MB / 1.4 GB, free: 6.168 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (106): * Single equations (assignments): 103 * 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.007474/2.14, allocations: 3.858 MB / 1.403 GB, free: 3.004 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007621/2.147, allocations: 3.231 MB / 1.407 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/2.147, allocations: 8.062 kB / 1.407 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/2.15, allocations: 0.9587 MB / 1.408 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008118/2.158, allocations: 1.522 MB / 1.409 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04843/2.206, allocations: 20.89 MB / 1.429 GB, free: 11.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/2.208, allocations: 2.133 MB / 1.432 GB, free: 9.488 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004397/2.213, allocations: 0.7535 MB / 1.432 GB, free: 8.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/2.215, allocations: 1.277 MB / 1.434 GB, free: 8.453 MB / 1.045 GB Notification: Performance of SimCode: time 1.432e-06/2.215, allocations: 0 / 1.434 GB, free: 8.453 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/2.351, allocations: 79.49 MB / 1.511 GB, free: 9.961 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000412/2.351, allocations: 268 kB / 1.511 GB, free: 9.598 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.325/6.677, allocations: 0 / 1.511 GB, free: 9.598 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat does not exist to compare? outputFormat=mat