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.001008/0.001008, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001032/0.001032, allocations: 193.2 kB / 16.26 MB, free: 6.625 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.188/1.188, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.551/1.551, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001394/0.001394, allocations: 70.47 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1966, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5251/0.7217, allocations: 176.8 MB / 0.9556 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.7357, allocations: 10.8 MB / 0.9662 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.7385, allocations: 75.22 kB / 0.9662 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005561/0.7441, allocations: 1.868 MB / 0.9681 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.7483, allocations: 1.476 MB / 0.9695 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.7504, allocations: 0.7241 MB / 0.9702 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003824/0.7542, allocations: 3.122 MB / 0.9733 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.7558, allocations: 1.3 MB / 0.9745 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.7577, allocations: 1.11 MB / 0.9756 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.7596, allocations: 1.15 MB / 0.9767 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.7598, allocations: 128.6 kB / 0.9769 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.7616, allocations: 0.9591 MB / 0.9778 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.762, allocations: 489.6 kB / 0.9783 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.763, allocations: 1.09 MB / 0.9793 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.766, allocations: 3.265 MB / 0.9825 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7661, allocations: 1.25 kB / 0.9825 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7661, allocations: 0 / 0.9825 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.244e-05/0.7661, allocations: 0 / 0.9825 GB, free: 1.688 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.003531/0.7696, allocations: 2.749 MB / 0.9852 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7697, allocations: 14.72 kB / 0.9852 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.7698, allocations: 125.3 kB / 0.9853 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.7711, allocations: 366.8 kB / 0.9857 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.7736, allocations: 1.878 MB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.7736, allocations: 60.78 kB / 0.9876 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7737, allocations: 74.84 kB / 0.9877 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.775, allocations: 0.9404 MB / 0.9886 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7751, allocations: 2.75 kB / 0.9886 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.7751, allocations: 29.72 kB / 0.9886 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.7752, allocations: 33.44 kB / 0.9886 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7762, allocations: 0.6999 MB / 0.9893 GB, free: 15.26 MB / 0.7481 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.005225/0.7814, allocations: 4.476 MB / 0.9937 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.7819, allocations: 326 kB / 0.994 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.7821, allocations: 184.2 kB / 0.9942 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.7823, allocations: 100.9 kB / 0.9943 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.7823, allocations: 32.72 kB / 0.9943 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.7823, allocations: 0 / 0.9943 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.002818/0.7852, allocations: 1.694 MB / 0.996 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7852, allocations: 56.81 kB / 0.996 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.789, allocations: 2.97 MB / 0.9989 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.7891, allocations: 31.52 kB / 0.9989 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.7902, allocations: 1.051 MB / 1 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.7904, allocations: 113.7 kB / 1 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.7906, allocations: 109.2 kB / 1 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.7908, allocations: 324 kB / 1 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.7911, allocations: 164.5 kB / 1.001 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.7915, allocations: 375.1 kB / 1.001 GB, free: 8.824 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.00239/0.7939, allocations: 1.066 MB / 1.002 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.7939, allocations: 6.5 kB / 1.002 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001931/0.7959, allocations: 0.7987 MB / 1.003 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7959, allocations: 8.125 kB / 1.003 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.7959, allocations: 8.219 kB / 1.003 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.7961, allocations: 62.72 kB / 1.003 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.7965, allocations: 99.55 kB / 1.003 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.798, allocations: 1.865 MB / 1.005 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.7993, allocations: 49.55 kB / 1.005 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.7993, allocations: 27.38 kB / 1.005 GB, free: 6.062 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.001182/0.8005, allocations: 0.7918 MB / 1.006 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.8009, allocations: 235.6 kB / 1.006 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.8012, allocations: 253.4 kB / 1.006 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8012, allocations: 2.75 kB / 1.006 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.8013, allocations: 0 / 1.006 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006393/0.8019, allocations: 0.6022 MB / 1.007 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.8049, allocations: 2.051 MB / 1.009 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8049, allocations: 5.281 kB / 1.009 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.8052, allocations: 63.16 kB / 1.009 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.8054, allocations: 57.47 kB / 1.009 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.8054, allocations: 12.69 kB / 1.009 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.8068, allocations: 1.868 MB / 1.011 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.8068, allocations: 7.812 kB / 1.011 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.808, allocations: 0.9451 MB / 1.012 GB, free: 1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/0.8088, allocations: 413.3 kB / 1.012 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.809, allocations: 14.28 kB / 1.012 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.8096, allocations: 28.36 kB / 1.012 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.8097, allocations: 33.12 kB / 1.012 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.8097, allocations: 10.78 kB / 1.012 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002747/0.8125, allocations: 2.104 MB / 1.014 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8125, allocations: 0 / 1.014 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001016/0.8135, allocations: 302.8 kB / 1.014 GB, free: 15.53 MB / 0.7637 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.001663/0.8152, allocations: 1.564 MB / 1.016 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000878/0.8161, allocations: 0.5523 MB / 1.017 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.8161, allocations: 4.156 kB / 1.017 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.8164, allocations: 307.8 kB / 1.017 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/0.8203, allocations: 0.959 MB / 1.018 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03157/0.8519, allocations: 20.45 MB / 1.038 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.8533, allocations: 1.95 MB / 1.04 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001338/0.8547, allocations: 388.7 kB / 1.04 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008549/0.8555, allocations: 0.819 MB / 1.041 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/0.8555, allocations: 0 / 1.041 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6081/1.464, allocations: 51.59 MB / 1.091 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003731/1.464, allocations: 301.4 kB / 1.091 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/4.302, allocations: 0 / 1.091 GB, free: 7.395 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 & /home/hudson/saved_omc/OMSimulator/install/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)