Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",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.006618/0.006618, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001662/0.001662, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 58.78 kB / 0.9505 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.26, allocations: 140.4 MB / 1.088 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.753/1.013, allocations: 179.2 MB / 1.263 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01505/1.028, allocations: 10.97 MB / 1.273 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/1.031, allocations: 89.7 kB / 1.273 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006277/1.038, allocations: 2.005 MB / 1.275 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005067/1.043, allocations: 1.618 MB / 1.277 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002672/1.045, allocations: 0.7902 MB / 1.278 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006227/1.052, allocations: 3.139 MB / 1.281 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/1.054, allocations: 1.319 MB / 1.282 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/1.057, allocations: 1.103 MB / 1.283 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/1.06, allocations: 1.115 MB / 1.284 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000644/1.06, allocations: 127 kB / 1.284 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/1.063, allocations: 0.9172 MB / 1.285 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000808/1.064, allocations: 479.8 kB / 1.286 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002125/1.066, allocations: 1.091 MB / 1.287 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005903/1.072, allocations: 3.468 MB / 1.29 GB, free: 1.906 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.072, allocations: 0.6562 kB / 1.29 GB, free: 1.906 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/1.072, allocations: 0.9375 kB / 1.29 GB, free: 1.906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001009/1.072, allocations: 1.469 kB / 1.29 GB, free: 1.906 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.006263/1.079, allocations: 2.802 MB / 1.293 GB, free: 492 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.079, allocations: 8.938 kB / 1.293 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/1.079, allocations: 128.2 kB / 1.293 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/1.081, allocations: 373.4 kB / 1.293 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/1.085, allocations: 2.017 MB / 1.295 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/1.085, allocations: 59.28 kB / 1.295 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.086, allocations: 75.77 kB / 1.296 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/1.087, allocations: 0.9415 MB / 1.296 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/1.087, allocations: 2.312 kB / 1.296 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/1.088, allocations: 36.19 kB / 1.296 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/1.088, allocations: 26.39 kB / 1.296 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/1.089, allocations: 0.6987 MB / 1.297 GB, free: 15.55 MB / 1.029 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.007265/1.096, allocations: 4.44 MB / 1.302 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/1.097, allocations: 319.4 kB / 1.302 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/1.097, allocations: 182 kB / 1.302 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/1.097, allocations: 93.12 kB / 1.302 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.097, allocations: 37.62 kB / 1.302 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.325e-06/1.097, allocations: 1.062 kB / 1.302 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.00349/1.101, allocations: 1.713 MB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.101, allocations: 61.88 kB / 1.304 GB, free: 12.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/1.105, allocations: 2.948 MB / 1.307 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/1.105, allocations: 35.39 kB / 1.307 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/1.106, allocations: 1.064 MB / 1.308 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.106, allocations: 115.3 kB / 1.308 GB, free: 12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.106, allocations: 113.8 kB / 1.308 GB, free: 11.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.106, allocations: 329.6 kB / 1.308 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/1.106, allocations: 166.4 kB / 1.308 GB, free: 11.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/1.107, allocations: 366.8 kB / 1.309 GB, free: 11.43 MB / 1.029 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/1.109, allocations: 1.081 MB / 1.31 GB, free: 11.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.109, allocations: 2.625 kB / 1.31 GB, free: 11.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001384/1.11, allocations: 0.7898 MB / 1.311 GB, free: 10.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.11, allocations: 11.2 kB / 1.311 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.11, allocations: 6.531 kB / 1.311 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/1.11, allocations: 66.44 kB / 1.311 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/1.111, allocations: 100.4 kB / 1.311 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/1.112, allocations: 1.86 MB / 1.313 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.113, allocations: 33.91 kB / 1.313 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/1.113, allocations: 23.53 kB / 1.313 GB, free: 9.434 MB / 1.029 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001282/1.115, allocations: 0.7935 MB / 1.313 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.115, allocations: 230.4 kB / 1.314 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/1.116, allocations: 255.6 kB / 1.314 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.116, allocations: 6.891 kB / 1.314 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.116, allocations: 5.406 kB / 1.314 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006498/1.116, allocations: 0.5965 MB / 1.315 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/1.12, allocations: 2.043 MB / 1.317 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.12, allocations: 6.5 kB / 1.317 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/1.12, allocations: 63 kB / 1.317 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/1.12, allocations: 60.73 kB / 1.317 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/1.12, allocations: 10.09 kB / 1.317 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/1.122, allocations: 1.856 MB / 1.318 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.122, allocations: 6.75 kB / 1.319 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.123, allocations: 0.9257 MB / 1.319 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009319/1.124, allocations: 411 kB / 1.32 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/1.124, allocations: 8.969 kB / 1.32 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/1.125, allocations: 19.5 kB / 1.32 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/1.125, allocations: 32 kB / 1.32 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.125, allocations: 11.06 kB / 1.32 GB, free: 6.234 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003013/1.128, allocations: 2.091 MB / 1.322 GB, free: 6.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.51e-07/1.128, allocations: 3.812 kB / 1.322 GB, free: 6.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001288/1.129, allocations: 296.6 kB / 1.322 GB, free: 6.09 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/1.131, allocations: 1.558 MB / 1.324 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008534/1.132, allocations: 0.5305 MB / 1.324 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.132, allocations: 0.9375 kB / 1.324 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/1.132, allocations: 293.2 kB / 1.325 GB, free: 4.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.136, allocations: 0.9411 MB / 1.325 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/1.16, allocations: 17.08 MB / 1.342 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/1.162, allocations: 1.951 MB / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001318/1.163, allocations: 352 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/1.164, allocations: 0.7969 MB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/1.164, allocations: 0 / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6126/1.777, allocations: 51.22 MB / 1.395 GB, free: 8.406 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/16.39, allocations: 7.25 kB / 1.395 GB, free: 8.402 MB / 1.076 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)