Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.0008189/0.0008189, allocations: 92 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.0008487/0.0008487, 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6248, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1749/0.7998, allocations: 162.8 MB / 1.14 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.8147, allocations: 10.17 MB / 1.15 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.8177, allocations: 71.56 kB / 1.15 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004921/0.8227, allocations: 1.574 MB / 1.152 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.8267, allocations: 1.251 MB / 1.153 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.8289, allocations: 0.5745 MB / 1.153 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.8336, allocations: 3.144 MB / 1.157 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.8352, allocations: 0.9937 MB / 1.157 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.837, allocations: 0.9406 MB / 1.158 GB, free: 196 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.8388, allocations: 1.015 MB / 1.159 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.8391, allocations: 72 kB / 1.159 GB, free: 15.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.8407, allocations: 479 kB / 1.16 GB, free: 14.63 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.8413, allocations: 398.2 kB / 1.16 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.842, allocations: 472.5 kB / 1.161 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.8447, allocations: 2.365 MB / 1.163 GB, free: 11.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8447, allocations: 0 / 1.163 GB, free: 11.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.288e-06/0.8447, allocations: 0 / 1.163 GB, free: 11.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.647e-05/0.8448, allocations: 3.938 kB / 1.163 GB, free: 11.4 MB / 0.92 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.003721/0.8485, allocations: 2.336 MB / 1.165 GB, free: 9.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8486, allocations: 8.031 kB / 1.165 GB, free: 8.996 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.8488, allocations: 126.6 kB / 1.165 GB, free: 8.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.8503, allocations: 372.6 kB / 1.166 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.8536, allocations: 1.785 MB / 1.168 GB, free: 6.645 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.8537, allocations: 58 kB / 1.168 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.8538, allocations: 84 kB / 1.168 GB, free: 6.508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.8554, allocations: 0.9251 MB / 1.169 GB, free: 5.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.8554, allocations: 7.938 kB / 1.169 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.8555, allocations: 35.98 kB / 1.169 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.8556, allocations: 25 kB / 1.169 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.8567, allocations: 0.6947 MB / 1.169 GB, free: 4.773 MB / 0.92 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.006517/0.8633, allocations: 4.495 MB / 1.174 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.8638, allocations: 323.9 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.8641, allocations: 176.8 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.8643, allocations: 97.09 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.8643, allocations: 38.5 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.875e-06/0.8643, allocations: 0 / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.003237/0.8676, allocations: 1.696 MB / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.8676, allocations: 59.41 kB / 1.176 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.8715, allocations: 2.945 MB / 1.179 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.8715, allocations: 37.7 kB / 1.179 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009239/0.8725, allocations: 1.054 MB / 1.18 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.8726, allocations: 118.3 kB / 1.18 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.8726, allocations: 8 kB / 1.18 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8728, allocations: 330 kB / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.873, allocations: 161 kB / 1.181 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.8734, allocations: 366.4 kB / 1.181 GB, free: 8.441 MB / 0.9356 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.001554/0.875, allocations: 0.6303 MB / 1.182 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.875, allocations: 0 / 1.182 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001398/0.8764, allocations: 0.7961 MB / 1.182 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.8764, allocations: 11.98 kB / 1.182 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8765, allocations: 8.062 kB / 1.182 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.8767, allocations: 60.83 kB / 1.182 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.877, allocations: 103.8 kB / 1.183 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.8784, allocations: 1.678 MB / 1.184 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009367/0.8794, allocations: 51.84 kB / 1.184 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.8794, allocations: 24 kB / 1.184 GB, free: 4.918 MB / 0.9356 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.001075/0.8805, allocations: 0.7993 MB / 1.185 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.8808, allocations: 229.1 kB / 1.185 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.8812, allocations: 251.7 kB / 1.185 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8812, allocations: 4 kB / 1.185 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8812, allocations: 0 / 1.185 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006618/0.8818, allocations: 0.6048 MB / 1.186 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.8846, allocations: 2.053 MB / 1.188 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8846, allocations: 4 kB / 1.188 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.8849, allocations: 67.89 kB / 1.188 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.8851, allocations: 65.19 kB / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.8851, allocations: 11.98 kB / 1.188 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.8866, allocations: 1.67 MB / 1.19 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8866, allocations: 4 kB / 1.19 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.8879, allocations: 0.9191 MB / 1.191 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.8886, allocations: 414.1 kB / 1.191 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.8888, allocations: 8 kB / 1.191 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.8894, allocations: 41.53 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.8895, allocations: 31.97 kB / 1.191 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.8895, allocations: 12 kB / 1.191 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003154/0.8927, allocations: 2.079 MB / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8927, allocations: 0 / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001299/0.894, allocations: 304 kB / 1.194 GB, free: 10.95 MB / 0.9512 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.001902/0.8959, allocations: 1.553 MB / 1.195 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009697/0.8969, allocations: 0.5087 MB / 1.196 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8969, allocations: 4.188 kB / 1.196 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.8973, allocations: 300.1 kB / 1.196 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/0.9013, allocations: 0.885 MB / 1.197 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/0.932, allocations: 15.65 MB / 1.212 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.9337, allocations: 1.953 MB / 1.214 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001375/0.9351, allocations: 334.5 kB / 1.214 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009096/0.936, allocations: 0.8 MB / 1.215 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/0.936, allocations: 0 / 1.215 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5247/1.461, allocations: 49.5 MB / 1.263 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/1.461, allocations: 281.1 kB / 1.264 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/4.332, allocations: 1.094 kB / 1.264 GB, free: 259.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat does not exist to compare? outputFormat=mat