Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_8_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.001051/0.001051, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001309/0.001309, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005515, allocations: 12.66 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3027, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7579/1.061, allocations: 162.8 MB / 0.9464 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01843/1.079, allocations: 10.12 MB / 0.9562 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/1.083, allocations: 69.66 kB / 0.9563 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005967/1.089, allocations: 1.58 MB / 0.9578 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/1.095, allocations: 1.25 MB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/1.097, allocations: 0.5601 MB / 0.9596 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006275/1.104, allocations: 3.124 MB / 0.9627 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/1.106, allocations: 0.9872 MB / 0.9636 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/1.108, allocations: 0.9363 MB / 0.9645 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.111, allocations: 1.013 MB / 0.9655 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002576/1.111, allocations: 68.5 kB / 0.9656 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/1.113, allocations: 473.5 kB / 0.9661 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004724/1.113, allocations: 400.1 kB / 0.9664 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008248/1.114, allocations: 475.8 kB / 0.9669 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/1.117, allocations: 2.359 MB / 0.9692 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.117, allocations: 0 / 0.9692 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/1.117, allocations: 1.375 kB / 0.9692 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.21e-05/1.117, allocations: 0 / 0.9692 GB, free: 15.97 MB / 0.7325 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.005274/1.123, allocations: 2.339 MB / 0.9715 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.123, allocations: 8.5 kB / 0.9715 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/1.123, allocations: 127.1 kB / 0.9716 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/1.124, allocations: 374.1 kB / 0.972 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/1.128, allocations: 1.763 MB / 0.9737 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/1.128, allocations: 60.53 kB / 0.9737 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/1.128, allocations: 83.55 kB / 0.9738 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.13, allocations: 0.9331 MB / 0.9747 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.13, allocations: 0 / 0.9747 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/1.13, allocations: 43.11 kB / 0.9748 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/1.13, allocations: 23.69 kB / 0.9748 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.131, allocations: 0.6922 MB / 0.9755 GB, free: 13.55 MB / 0.7325 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.006541/1.137, allocations: 4.475 MB / 0.9798 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/1.138, allocations: 324.1 kB / 0.9802 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/1.138, allocations: 179.5 kB / 0.9803 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/1.138, allocations: 95.62 kB / 0.9804 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.138, allocations: 44.3 kB / 0.9805 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/1.138, allocations: 0 / 0.9805 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.003236/1.142, allocations: 1.691 MB / 0.9821 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/1.142, allocations: 54.72 kB / 0.9822 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/1.145, allocations: 2.947 MB / 0.985 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/1.145, allocations: 32.61 kB / 0.9851 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/1.146, allocations: 1.052 MB / 0.9861 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.146, allocations: 115.9 kB / 0.9862 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/1.146, allocations: 14.19 kB / 0.9862 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.147, allocations: 334.5 kB / 0.9865 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/1.147, allocations: 158.4 kB / 0.9867 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/1.147, allocations: 368.8 kB / 0.987 GB, free: 7.773 MB / 0.7325 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.001445/1.149, allocations: 0.6227 MB / 0.9876 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.149, allocations: 3.5 kB / 0.9877 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001218/1.15, allocations: 0.7854 MB / 0.9884 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.15, allocations: 8.875 kB / 0.9884 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.15, allocations: 10.58 kB / 0.9884 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/1.15, allocations: 64.31 kB / 0.9885 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.151, allocations: 105.3 kB / 0.9886 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/1.152, allocations: 1.685 MB / 0.9902 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.153, allocations: 33.8 kB / 0.9903 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/1.153, allocations: 23.44 kB / 0.9903 GB, free: 5.77 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001446/1.155, allocations: 0.7988 MB / 0.9911 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/1.155, allocations: 230.9 kB / 0.9913 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/1.156, allocations: 249.9 kB / 0.9915 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.156, allocations: 3.312 kB / 0.9915 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.156, allocations: 2.875 kB / 0.9915 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007268/1.156, allocations: 0.6035 MB / 0.9921 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/1.16, allocations: 2.048 MB / 0.9941 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.16, allocations: 2.562 kB / 0.9941 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/1.16, allocations: 66.75 kB / 0.9942 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/1.16, allocations: 56.16 kB / 0.9943 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/1.161, allocations: 14.53 kB / 0.9943 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/1.162, allocations: 1.68 MB / 0.9959 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.162, allocations: 2.844 kB / 0.9959 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.163, allocations: 0.9458 MB / 0.9968 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/1.164, allocations: 408.4 kB / 0.9972 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.164, allocations: 18.7 kB / 0.9972 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/1.165, allocations: 32.56 kB / 0.9973 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/1.165, allocations: 32.77 kB / 0.9973 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/1.165, allocations: 18.16 kB / 0.9973 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003439/1.169, allocations: 2.074 MB / 0.9993 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/1.169, allocations: 0 / 0.9993 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001791/1.17, allocations: 301 kB / 0.9996 GB, free: 1.215 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.U,air.vol.dynBal.mXi[1]) * 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 (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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001958/1.172, allocations: 1.558 MB / 1.001 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000984/1.173, allocations: 0.5167 MB / 1.002 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.173, allocations: 1.969 kB / 1.002 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004657/1.174, allocations: 312 kB / 1.002 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/1.178, allocations: 0.8916 MB / 1.003 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/1.212, allocations: 15.58 MB / 1.018 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.214, allocations: 1.952 MB / 1.02 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001769/1.216, allocations: 346.8 kB / 1.02 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.217, allocations: 0.7928 MB / 1.021 GB, free: 6 MB / 0.7481 GB Notification: Performance of SimCode: time 2.325e-06/1.217, allocations: 0 / 1.021 GB, free: 6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09347/1.31, allocations: 49.44 MB / 1.069 GB, free: 5.59 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.311, allocations: 272.4 kB / 1.07 GB, free: 5.234 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.674/4.985, allocations: 3.938 kB / 1.07 GB, free: 5.23 MB / 0.795 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) Environment - environmentSimulation: