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.001061/0.001061, allocations: 105.4 kB / 15.7 MB, free: 28 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.001426/0.001426, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.289/1.289, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.574/1.574, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001335/0.001335, allocations: 72.09 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1919, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5314/0.7233, allocations: 179.2 MB / 0.9587 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.7372, allocations: 10.93 MB / 0.9694 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.7405, allocations: 86.03 kB / 0.9694 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005438/0.746, allocations: 1.997 MB / 0.9714 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.7506, allocations: 1.61 MB / 0.973 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.7529, allocations: 0.7773 MB / 0.9737 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004546/0.7575, allocations: 3.122 MB / 0.9768 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.7593, allocations: 1.31 MB / 0.978 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.7613, allocations: 1.099 MB / 0.9791 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.7635, allocations: 1.118 MB / 0.9802 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.7638, allocations: 128.1 kB / 0.9803 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.7658, allocations: 0.9106 MB / 0.9812 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.7663, allocations: 482.6 kB / 0.9817 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.7674, allocations: 1.092 MB / 0.9828 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.771, allocations: 3.235 MB / 0.9859 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.771, allocations: 0 / 0.9859 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.771, allocations: 0 / 0.9859 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.077e-05/0.7711, allocations: 3.062 kB / 0.9859 GB, free: 9.676 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.003725/0.7748, allocations: 2.739 MB / 0.9886 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7749, allocations: 9.875 kB / 0.9886 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.775, allocations: 127.9 kB / 0.9887 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.7764, allocations: 373.7 kB / 0.9891 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.7792, allocations: 1.991 MB / 0.991 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.7792, allocations: 58.66 kB / 0.9911 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.7793, allocations: 77.97 kB / 0.9911 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.7806, allocations: 0.9372 MB / 0.9921 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.7806, allocations: 0 / 0.9921 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.7807, allocations: 37.69 kB / 0.9921 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.7807, allocations: 31.72 kB / 0.9921 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/0.7817, allocations: 0.698 MB / 0.9928 GB, free: 5.027 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.005126/0.7868, allocations: 4.44 MB / 0.9971 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.7873, allocations: 327.3 kB / 0.9975 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.7875, allocations: 180.8 kB / 0.9976 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.7877, allocations: 101.2 kB / 0.9977 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.7877, allocations: 33.28 kB / 0.9978 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.7877, allocations: 0 / 0.9978 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.00273/0.7905, allocations: 1.689 MB / 0.9994 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.7905, allocations: 57.78 kB / 0.9995 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.7937, allocations: 2.942 MB / 1.002 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.7938, allocations: 36.42 kB / 1.002 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/0.7946, allocations: 1.06 MB / 1.003 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.7947, allocations: 111.7 kB / 1.004 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.7949, allocations: 106.9 kB / 1.004 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.795, allocations: 327.3 kB / 1.004 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.7952, allocations: 161.6 kB / 1.004 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.7956, allocations: 372.2 kB / 1.004 GB, free: 12.44 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.001854/0.7974, allocations: 1.07 MB / 1.005 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7974, allocations: 10.69 kB / 1.005 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001105/0.7985, allocations: 0.7953 MB / 1.006 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7986, allocations: 11.56 kB / 1.006 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7986, allocations: 4.875 kB / 1.006 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.7988, allocations: 63.91 kB / 1.006 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.7991, allocations: 98 kB / 1.006 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.8005, allocations: 1.862 MB / 1.008 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/0.8014, allocations: 35.19 kB / 1.008 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.8015, allocations: 27.97 kB / 1.008 GB, free: 9.375 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.0009773/0.8025, allocations: 0.7915 MB / 1.009 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.8027, allocations: 236.9 kB / 1.009 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.803, allocations: 251.8 kB / 1.01 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8031, allocations: 2.469 kB / 1.01 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8031, allocations: 2.781 kB / 1.01 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006035/0.8037, allocations: 0.5999 MB / 1.01 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.8063, allocations: 2.041 MB / 1.012 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8063, allocations: 2.312 kB / 1.012 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.8066, allocations: 68.84 kB / 1.012 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.8068, allocations: 59.47 kB / 1.012 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.8068, allocations: 13.69 kB / 1.012 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.8082, allocations: 1.861 MB / 1.014 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8082, allocations: 2.406 kB / 1.014 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8093, allocations: 0.946 MB / 1.015 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.8099, allocations: 411.9 kB / 1.015 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.8101, allocations: 9.156 kB / 1.015 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.8106, allocations: 14.59 kB / 1.015 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.8107, allocations: 36.67 kB / 1.015 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.8107, allocations: 20.36 kB / 1.015 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002487/0.8132, allocations: 2.082 MB / 1.018 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8132, allocations: 0 / 1.018 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009515/0.8142, allocations: 296.3 kB / 1.018 GB, free: 2.715 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.001578/0.8158, allocations: 1.555 MB / 1.019 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.8166, allocations: 0.543 MB / 1.02 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.8166, allocations: 2.906 kB / 1.02 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.8169, allocations: 294.3 kB / 1.02 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.8202, allocations: 0.954 MB / 1.021 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.8415, allocations: 17.04 MB / 1.038 GB, free: 360 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.843, allocations: 1.945 MB / 1.04 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001062/0.8441, allocations: 346.7 kB / 1.04 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008356/0.8449, allocations: 0.7961 MB / 1.041 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.8449, allocations: 0 / 1.041 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08661/0.9316, allocations: 50.64 MB / 1.09 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.74, allocations: 4.625 kB / 1.09 GB, free: 11.28 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)