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.0009324/0.0009326, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006823/0.006823, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.371/1.371, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.59/1.59, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0004542/0.0004543, allocations: 16.09 kB / 0.6744 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1632, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4781/0.6414, allocations: 174.5 MB / 0.9584 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.6533, allocations: 10.78 MB / 0.9689 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.6548, allocations: 70.44 kB / 0.969 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003869/0.6587, allocations: 1.835 MB / 0.9708 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.6616, allocations: 1.48 MB / 0.9722 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.663, allocations: 0.7076 MB / 0.9729 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.6661, allocations: 3.681 MB / 0.9765 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.6673, allocations: 1.134 MB / 0.9776 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.6684, allocations: 0.948 MB / 0.9785 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.6699, allocations: 1.071 MB / 0.9796 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.67, allocations: 69.91 kB / 0.9797 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.6714, allocations: 1.005 MB / 0.9806 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.6718, allocations: 413.7 kB / 0.981 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.6725, allocations: 1.038 MB / 0.982 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.6748, allocations: 3.035 MB / 0.985 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6748, allocations: 7.438 kB / 0.985 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6748, allocations: 2.906 kB / 0.985 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.6748, allocations: 0 / 0.985 GB, free: 10.39 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.002634/0.6775, allocations: 2.3 MB / 0.9873 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6775, allocations: 14.86 kB / 0.9873 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.6776, allocations: 121.3 kB / 0.9874 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.6788, allocations: 382.8 kB / 0.9878 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.681, allocations: 1.867 MB / 0.9896 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.681, allocations: 61.3 kB / 0.9896 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.6811, allocations: 73.12 kB / 0.9897 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.6823, allocations: 0.9421 MB / 0.9906 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6823, allocations: 0 / 0.9906 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.6824, allocations: 36.03 kB / 0.9907 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.6824, allocations: 30.06 kB / 0.9907 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009195/0.6834, allocations: 0.6953 MB / 0.9914 GB, free: 6.5 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.004419/0.6878, allocations: 4.482 MB / 0.9957 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.6882, allocations: 322.6 kB / 0.9961 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.6884, allocations: 182 kB / 0.9962 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.6886, allocations: 102.8 kB / 0.9963 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.6886, allocations: 37.47 kB / 0.9964 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.6886, allocations: 0 / 0.9964 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.002353/0.691, allocations: 1.699 MB / 0.998 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.691, allocations: 60.5 kB / 0.9981 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.6939, allocations: 2.964 MB / 1.001 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.694, allocations: 32.58 kB / 1.001 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.6948, allocations: 1.05 MB / 1.002 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.6949, allocations: 118 kB / 1.002 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.695, allocations: 47.84 kB / 1.002 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.6951, allocations: 325.7 kB / 1.002 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.6953, allocations: 165.4 kB / 1.003 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.6956, allocations: 375.8 kB / 1.003 GB, free: 13.92 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.00177/0.6974, allocations: 1.07 MB / 1.004 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6974, allocations: 3.938 kB / 1.004 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009464/0.6984, allocations: 0.7913 MB / 1.005 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6984, allocations: 8.469 kB / 1.005 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6984, allocations: 5.75 kB / 1.005 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.6986, allocations: 64.53 kB / 1.005 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.6989, allocations: 95.86 kB / 1.005 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.7002, allocations: 1.688 MB / 1.007 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.7008, allocations: 46.66 kB / 1.007 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.7009, allocations: 23.75 kB / 1.007 GB, free: 11.04 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 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 (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.0007566/0.7016, allocations: 0.796 MB / 1.007 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.7019, allocations: 231.5 kB / 1.008 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.7022, allocations: 257.2 kB / 1.008 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7022, allocations: 6.562 kB / 1.008 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7022, allocations: 2.625 kB / 1.008 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005758/0.7028, allocations: 0.5956 MB / 1.009 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.7051, allocations: 2.043 MB / 1.011 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7051, allocations: 7 kB / 1.011 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.7054, allocations: 71.97 kB / 1.011 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.7055, allocations: 58.59 kB / 1.011 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.7056, allocations: 14.16 kB / 1.011 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.7068, allocations: 1.681 MB / 1.012 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.7068, allocations: 4.625 kB / 1.012 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.7077, allocations: 0.9613 MB / 1.013 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.7082, allocations: 408.6 kB / 1.014 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.7084, allocations: 9.062 kB / 1.014 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.709, allocations: 29.77 kB / 1.014 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.709, allocations: 29.72 kB / 1.014 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.709, allocations: 15.16 kB / 1.014 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002148/0.7112, allocations: 2.095 MB / 1.016 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7112, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007652/0.712, allocations: 306.6 kB / 1.016 GB, free: 4.52 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.001428/0.7134, allocations: 1.577 MB / 1.018 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.7141, allocations: 0.5232 MB / 1.018 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7141, allocations: 0 / 1.018 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.7145, allocations: 302 kB / 1.018 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/0.7186, allocations: 0.8829 MB / 1.019 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/0.7442, allocations: 20.09 MB / 1.039 GB, free: 196 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.7456, allocations: 1.957 MB / 1.041 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008688/0.7465, allocations: 342.4 kB / 1.041 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.7473, allocations: 0.7961 MB / 1.042 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7473, allocations: 0 / 1.042 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.058/3.806, allocations: 48.92 MB / 1.09 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004097/3.806, allocations: 297.2 kB / 1.09 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.864/7.67, allocations: 0 / 1.09 GB, free: 12.44 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)