Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_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.001279/0.001279, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.212/2.212, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4823, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1478/0.6301, allocations: 179.3 MB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.6429, allocations: 10.97 MB / 1.203 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.6448, allocations: 83.56 kB / 1.203 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004162/0.649, allocations: 1.99 MB / 1.205 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.6526, allocations: 1.625 MB / 1.207 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.6544, allocations: 0.7785 MB / 1.208 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002771/0.6571, allocations: 3.123 MB / 1.211 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.6584, allocations: 1.324 MB / 1.212 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.6595, allocations: 1.096 MB / 1.213 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.6609, allocations: 1.12 MB / 1.214 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.6611, allocations: 128 kB / 1.214 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.6625, allocations: 0.916 MB / 1.215 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003715/0.6629, allocations: 478.1 kB / 1.216 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008062/0.6637, allocations: 1.099 MB / 1.217 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.6662, allocations: 3.216 MB / 1.22 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6662, allocations: 7.938 kB / 1.22 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6662, allocations: 3.938 kB / 1.22 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.6662, allocations: 0 / 1.22 GB, free: 2.473 MB / 0.9669 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.002922/0.6691, allocations: 2.747 MB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.6692, allocations: 8.031 kB / 1.222 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.6693, allocations: 126.7 kB / 1.223 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.6705, allocations: 368.5 kB / 1.223 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.6727, allocations: 1.892 MB / 1.225 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.6727, allocations: 58 kB / 1.225 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.6728, allocations: 80 kB / 1.225 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.674, allocations: 0.9329 MB / 1.226 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.674, allocations: 7.844 kB / 1.226 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.6741, allocations: 32 kB / 1.226 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.6741, allocations: 32.92 kB / 1.226 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009394/0.675, allocations: 0.6986 MB / 1.227 GB, free: 11.32 MB / 0.9825 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.004373/0.6794, allocations: 4.487 MB / 1.231 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.6798, allocations: 326.6 kB / 1.231 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.6801, allocations: 178.3 kB / 1.231 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.6802, allocations: 93.11 kB / 1.232 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.6802, allocations: 38.55 kB / 1.232 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.6802, allocations: 4 kB / 1.232 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.002349/0.6826, allocations: 1.701 MB / 1.233 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6826, allocations: 59.41 kB / 1.233 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/0.6856, allocations: 2.969 MB / 1.236 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.6856, allocations: 37.7 kB / 1.236 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/0.6864, allocations: 1.05 MB / 1.237 GB, free: 20 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/0.6865, allocations: 118.3 kB / 1.237 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6866, allocations: 110.1 kB / 1.237 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.6867, allocations: 326 kB / 1.238 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.6869, allocations: 169 kB / 1.238 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.6872, allocations: 366.8 kB / 1.238 GB, free: 14.85 MB / 0.9981 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.001796/0.689, allocations: 1.083 MB / 1.239 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6891, allocations: 3.938 kB / 1.239 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009416/0.69, allocations: 0.8044 MB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.69, allocations: 9.719 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.69, allocations: 8 kB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.6902, allocations: 61.39 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.6905, allocations: 111.8 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.6918, allocations: 1.853 MB / 1.242 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.6924, allocations: 32.91 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.6925, allocations: 31.92 kB / 1.242 GB, free: 10.61 MB / 0.9981 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.0007355/0.6932, allocations: 0.7927 MB / 1.243 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.6934, allocations: 237 kB / 1.243 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.6937, allocations: 259.7 kB / 1.243 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6937, allocations: 0 / 1.243 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6937, allocations: 4 kB / 1.243 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005602/0.6943, allocations: 0.6011 MB / 1.244 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.6966, allocations: 2.056 MB / 1.246 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.6966, allocations: 8.125 kB / 1.246 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.6969, allocations: 63.91 kB / 1.246 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.697, allocations: 56.81 kB / 1.246 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6971, allocations: 12 kB / 1.246 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.6983, allocations: 1.857 MB / 1.248 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6983, allocations: 8 kB / 1.248 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.6992, allocations: 0.9256 MB / 1.249 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.6997, allocations: 418 kB / 1.249 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.6999, allocations: 8 kB / 1.249 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.7004, allocations: 15.98 kB / 1.249 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.7004, allocations: 31.84 kB / 1.249 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.7005, allocations: 16 kB / 1.249 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002231/0.7027, allocations: 2.103 MB / 1.251 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7027, allocations: 4 kB / 1.251 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007625/0.7035, allocations: 296 kB / 1.252 GB, free: 452 kB / 0.9981 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.3727/1.076, allocations: 1.538 MB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008857/1.077, allocations: 0.5525 MB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.077, allocations: 0.8438 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/1.077, allocations: 305 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.081, allocations: 0.9327 MB / 1.255 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.103, allocations: 19.6 MB / 1.274 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.105, allocations: 1.957 MB / 1.276 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00112/1.106, allocations: 341.8 kB / 1.276 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/1.107, allocations: 0.8006 MB / 1.277 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.107, allocations: 0 / 1.277 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5506/1.657, allocations: 50.71 MB / 1.327 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/12.05, allocations: 2.625 kB / 1.327 GB, free: 173.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)