Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_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.0009548/0.0009548, allocations: 91.61 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.001195/0.001195, 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 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003188, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6716, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1681/0.8398, allocations: 162.8 MB / 1.113 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.8547, allocations: 10.18 MB / 1.123 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.8574, allocations: 71.56 kB / 1.123 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.862, allocations: 1.574 MB / 1.124 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.8658, allocations: 1.247 MB / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.8677, allocations: 0.5677 MB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004224/0.8719, allocations: 3.153 MB / 1.129 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.8736, allocations: 0.9821 MB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.8752, allocations: 0.9367 MB / 1.131 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.8765, allocations: 1.018 MB / 1.132 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.8767, allocations: 72 kB / 1.132 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.8781, allocations: 475 kB / 1.133 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004473/0.8785, allocations: 406.2 kB / 1.133 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.8791, allocations: 476.4 kB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.8815, allocations: 2.35 MB / 1.136 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8816, allocations: 4 kB / 1.136 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8816, allocations: 0 / 1.136 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.8816, allocations: 0 / 1.136 GB, free: 5.324 MB / 0.8887 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.003268/0.8849, allocations: 2.343 MB / 1.138 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.8849, allocations: 12.03 kB / 1.138 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.8851, allocations: 126.7 kB / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.8864, allocations: 368.6 kB / 1.139 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.8891, allocations: 1.777 MB / 1.14 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.8892, allocations: 58 kB / 1.14 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8893, allocations: 75.95 kB / 1.14 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.8908, allocations: 0.933 MB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.8908, allocations: 4 kB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/0.8909, allocations: 32 kB / 1.141 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.891, allocations: 28.94 kB / 1.141 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.8921, allocations: 0.6907 MB / 1.142 GB, free: 14.71 MB / 0.9044 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.005691/0.8978, allocations: 4.499 MB / 1.146 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.8983, allocations: 310.7 kB / 1.147 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.8986, allocations: 182.7 kB / 1.147 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.8987, allocations: 93.09 kB / 1.147 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.8988, allocations: 42.56 kB / 1.147 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.8988, allocations: 4 kB / 1.147 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.003008/0.9018, allocations: 1.704 MB / 1.149 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.9019, allocations: 59.36 kB / 1.149 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/0.9057, allocations: 2.957 MB / 1.152 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.9058, allocations: 37.7 kB / 1.152 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009495/0.9067, allocations: 1.05 MB / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.9069, allocations: 118.4 kB / 1.153 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.9069, allocations: 12 kB / 1.153 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.907, allocations: 326 kB / 1.153 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.9073, allocations: 165 kB / 1.153 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.9077, allocations: 370.2 kB / 1.154 GB, free: 2.352 MB / 0.9044 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.001595/0.9093, allocations: 0.6265 MB / 1.154 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9093, allocations: 4 kB / 1.154 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001272/0.9106, allocations: 0.7962 MB / 1.155 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9106, allocations: 8 kB / 1.155 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9106, allocations: 4 kB / 1.155 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.9109, allocations: 68.81 kB / 1.155 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.9112, allocations: 99.84 kB / 1.155 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.9128, allocations: 1.67 MB / 1.157 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.9137, allocations: 41.38 kB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.9138, allocations: 27.98 kB / 1.157 GB, free: 14.85 MB / 0.92 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.0013/0.9151, allocations: 0.7978 MB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.9154, allocations: 237 kB / 1.158 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.9158, allocations: 251.7 kB / 1.158 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9158, allocations: 4 kB / 1.158 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.9158, allocations: 4 kB / 1.158 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006959/0.9165, allocations: 0.5932 MB / 1.159 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.9195, allocations: 2.056 MB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9195, allocations: 8.156 kB / 1.161 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.9199, allocations: 71.84 kB / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.92, allocations: 56.81 kB / 1.161 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.9201, allocations: 12 kB / 1.161 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.9215, allocations: 1.674 MB / 1.163 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9215, allocations: 7.938 kB / 1.163 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.9228, allocations: 0.9077 MB / 1.163 GB, free: 7.777 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000702/0.9235, allocations: 414 kB / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.9237, allocations: 12 kB / 1.164 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.9243, allocations: 36.38 kB / 1.164 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.9244, allocations: 35.86 kB / 1.164 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.9244, allocations: 12 kB / 1.164 GB, free: 7.258 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002928/0.9273, allocations: 2.079 MB / 1.166 GB, free: 5.176 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9274, allocations: 0 / 1.166 GB, free: 5.176 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0011/0.9285, allocations: 304 kB / 1.166 GB, free: 4.879 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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.00171/0.9302, allocations: 1.549 MB / 1.168 GB, free: 3.266 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009058/0.9311, allocations: 0.534 MB / 1.168 GB, free: 2.719 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.9311, allocations: 7.938 kB / 1.168 GB, free: 2.711 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.9315, allocations: 295.9 kB / 1.169 GB, free: 2.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.935, allocations: 0.8768 MB / 1.169 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/0.963, allocations: 15.64 MB / 1.185 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.9646, allocations: 1.957 MB / 1.187 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001204/0.9658, allocations: 338.5 kB / 1.187 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.9669, allocations: 0.7961 MB / 1.188 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of SimCode: time 1.112e-06/0.9669, allocations: 7.938 kB / 1.188 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07817/1.045, allocations: 49.5 MB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/1.045, allocations: 283.8 kB / 1.236 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.813, allocations: 3.516 kB / 1.236 GB, free: 12.34 MB / 0.9981 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat does not exist to compare? outputFormat=mat