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.001431/0.001431, allocations: 108 kB / 15.6 MB, free: 132 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.001212/0.001212, allocations: 197.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.654/1.654, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001457/0.001457, allocations: 72.02 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2337, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7054/0.9392, allocations: 179.2 MB / 0.9585 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.9551, allocations: 10.93 MB / 0.9692 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.9593, allocations: 76.91 kB / 0.9693 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006502/0.9658, allocations: 1.999 MB / 0.9712 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.9715, allocations: 1.608 MB / 0.9728 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.9739, allocations: 0.7827 MB / 0.9735 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005501/0.9794, allocations: 3.105 MB / 0.9766 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.9815, allocations: 1.302 MB / 0.9779 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.9839, allocations: 1.094 MB / 0.9789 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.9859, allocations: 1.117 MB / 0.98 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.9862, allocations: 136.9 kB / 0.9801 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.9885, allocations: 0.913 MB / 0.981 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.989, allocations: 477.8 kB / 0.9815 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.9902, allocations: 1.1 MB / 0.9826 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.994, allocations: 3.206 MB / 0.9857 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.994, allocations: 2.781 kB / 0.9857 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.994, allocations: 0 / 0.9857 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.588e-05/0.9941, allocations: 0 / 0.9857 GB, free: 9.773 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.003858/0.9979, allocations: 2.744 MB / 0.9884 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.998, allocations: 7.812 kB / 0.9884 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.9981, allocations: 135.9 kB / 0.9885 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.9995, allocations: 367.2 kB / 0.9889 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/1.002, allocations: 1.883 MB / 0.9907 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/1.002, allocations: 64.06 kB / 0.9908 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.003, allocations: 74.5 kB / 0.9908 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/1.004, allocations: 0.9361 MB / 0.9917 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.004, allocations: 3.938 kB / 0.9918 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/1.004, allocations: 31.81 kB / 0.9918 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/1.004, allocations: 29.94 kB / 0.9918 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.005, allocations: 0.6965 MB / 0.9925 GB, free: 5.191 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.005754/1.011, allocations: 4.485 MB / 0.9969 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/1.011, allocations: 330.4 kB / 0.9972 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/1.012, allocations: 180 kB / 0.9974 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/1.012, allocations: 93.84 kB / 0.9974 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.012, allocations: 37.31 kB / 0.9975 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/1.012, allocations: 0 / 0.9975 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.002956/1.015, allocations: 1.704 MB / 0.9991 GB, free: 8 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.015, allocations: 53.91 kB / 0.9992 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/1.018, allocations: 2.965 MB / 1.002 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/1.018, allocations: 32.92 kB / 1.002 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008551/1.019, allocations: 1.05 MB / 1.003 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.019, allocations: 111.1 kB / 1.003 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.02, allocations: 115.9 kB / 1.003 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.02, allocations: 322.6 kB / 1.004 GB, free: 13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/1.02, allocations: 169.7 kB / 1.004 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/1.02, allocations: 364.1 kB / 1.004 GB, free: 12.57 MB / 0.7481 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.001846/1.022, allocations: 1.07 MB / 1.005 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.022, allocations: 10.66 kB / 1.005 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001073/1.023, allocations: 0.7976 MB / 1.006 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.023, allocations: 6.031 kB / 1.006 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.023, allocations: 7.312 kB / 1.006 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/1.023, allocations: 59.88 kB / 1.006 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/1.024, allocations: 102.7 kB / 1.006 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/1.025, allocations: 1.862 MB / 1.008 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/1.026, allocations: 34.8 kB / 1.008 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.026, allocations: 28.19 kB / 1.008 GB, free: 9.512 MB / 0.7481 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.001002/1.027, allocations: 0.7957 MB / 1.009 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/1.027, allocations: 233.5 kB / 1.009 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/1.028, allocations: 257.8 kB / 1.009 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.028, allocations: 4.875 kB / 1.009 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.028, allocations: 0 / 1.009 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006128/1.028, allocations: 0.6045 MB / 1.01 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/1.031, allocations: 2.046 MB / 1.012 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.031, allocations: 2.5 kB / 1.012 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/1.031, allocations: 64.84 kB / 1.012 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/1.032, allocations: 58.94 kB / 1.012 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.032, allocations: 9.281 kB / 1.012 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/1.033, allocations: 1.867 MB / 1.014 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.033, allocations: 8.344 kB / 1.014 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.034, allocations: 0.9428 MB / 1.015 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/1.035, allocations: 414.7 kB / 1.015 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.035, allocations: 12.47 kB / 1.015 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.036, allocations: 18.61 kB / 1.015 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/1.036, allocations: 32.88 kB / 1.015 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/1.036, allocations: 16.31 kB / 1.015 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002752/1.039, allocations: 2.102 MB / 1.017 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.039, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001061/1.04, allocations: 306.4 kB / 1.018 GB, free: 2.816 MB / 0.7481 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 (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.001667/1.041, allocations: 1.569 MB / 1.019 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008398/1.042, allocations: 0.5437 MB / 1.02 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.042, allocations: 2.75 kB / 1.02 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/1.043, allocations: 297.9 kB / 1.02 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.046, allocations: 0.9435 MB / 1.021 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.068, allocations: 19.55 MB / 1.04 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/1.07, allocations: 1.949 MB / 1.042 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001183/1.071, allocations: 338.4 kB / 1.042 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/1.072, allocations: 0.8 MB / 1.043 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of SimCode: time 9.22e-07/1.072, allocations: 0 / 1.043 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09648/1.168, allocations: 50.65 MB / 1.092 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.8, allocations: 8 kB / 1.092 GB, free: 7.797 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)