Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00143/0.00143, allocations: 193.2 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.12 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5116, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1454/0.6571, allocations: 176.9 MB / 1.189 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.6698, allocations: 10.93 MB / 1.2 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.6717, allocations: 75.56 kB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.676, allocations: 1.839 MB / 1.202 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.6791, allocations: 1.485 MB / 1.203 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.6806, allocations: 0.7106 MB / 1.204 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.6834, allocations: 3.713 MB / 1.208 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.6845, allocations: 1.164 MB / 1.209 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.6855, allocations: 0.9871 MB / 1.21 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.6869, allocations: 1.12 MB / 1.211 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.687, allocations: 84 kB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.6885, allocations: 1.001 MB / 1.212 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.6888, allocations: 438 kB / 1.212 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007452/0.6896, allocations: 1.041 MB / 1.213 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.6918, allocations: 3.111 MB / 1.217 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6918, allocations: 7.984 kB / 1.217 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6918, allocations: 0 / 1.217 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.6918, allocations: 0 / 1.217 GB, free: 5.41 MB / 0.9669 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.003002/0.6948, allocations: 2.708 MB / 1.219 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.6948, allocations: 8.031 kB / 1.219 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.695, allocations: 122.7 kB / 1.219 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6962, allocations: 372.5 kB / 1.22 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.6983, allocations: 1.876 MB / 1.221 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.6984, allocations: 61.94 kB / 1.222 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.6985, allocations: 79.91 kB / 1.222 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6997, allocations: 0.9445 MB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.6997, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.6998, allocations: 32 kB / 1.223 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.6998, allocations: 32.92 kB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009604/0.7008, allocations: 0.7025 MB / 1.223 GB, free: 14.3 MB / 0.9825 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.004344/0.7051, allocations: 4.483 MB / 1.228 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.7055, allocations: 314.6 kB / 1.228 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.7058, allocations: 186 kB / 1.228 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.7059, allocations: 97.09 kB / 1.228 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.7059, allocations: 34.56 kB / 1.228 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.355e-06/0.7059, allocations: 4 kB / 1.228 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.002377/0.7083, allocations: 1.704 MB / 1.23 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.7084, allocations: 55.41 kB / 1.23 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.7113, allocations: 2.973 MB / 1.233 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.7114, allocations: 33.7 kB / 1.233 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/0.7121, allocations: 1.058 MB / 1.234 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.7122, allocations: 106.4 kB / 1.234 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.7124, allocations: 114.1 kB / 1.234 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.7124, allocations: 330 kB / 1.234 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.7127, allocations: 165 kB / 1.235 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.713, allocations: 372.1 kB / 1.235 GB, free: 1.832 MB / 0.9825 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.001849/0.7149, allocations: 1.08 MB / 1.236 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7149, allocations: 4 kB / 1.236 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009371/0.7158, allocations: 0.7919 MB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7158, allocations: 8 kB / 1.237 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.7158, allocations: 8 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.716, allocations: 69.28 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.7163, allocations: 99.78 kB / 1.237 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.7175, allocations: 1.69 MB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.7182, allocations: 43.81 kB / 1.239 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.7183, allocations: 24 kB / 1.239 GB, free: 13.77 MB / 0.9981 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.0007531/0.719, allocations: 0.7984 MB / 1.239 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.7192, allocations: 229.1 kB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.7195, allocations: 255.7 kB / 1.24 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.7195, allocations: 4 kB / 1.24 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7195, allocations: 0 / 1.24 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005728/0.7201, allocations: 0.597 MB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.7225, allocations: 2.059 MB / 1.243 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7225, allocations: 7.938 kB / 1.243 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.7228, allocations: 59.91 kB / 1.243 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.7229, allocations: 60.81 kB / 1.243 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.7229, allocations: 8 kB / 1.243 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.7241, allocations: 1.682 MB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7241, allocations: 7.938 kB / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009186/0.725, allocations: 0.9317 MB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.7255, allocations: 414 kB / 1.246 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.7257, allocations: 12 kB / 1.246 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/0.7263, allocations: 31.94 kB / 1.246 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.7263, allocations: 31.91 kB / 1.246 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.7264, allocations: 12 kB / 1.246 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002222/0.7286, allocations: 2.103 MB / 1.248 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7286, allocations: 0 / 1.248 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007867/0.7294, allocations: 304 kB / 1.248 GB, free: 3.777 MB / 0.9981 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 (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.001364/0.7308, allocations: 1.543 MB / 1.25 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006968/0.7315, allocations: 0.5295 MB / 1.25 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7315, allocations: 4 kB / 1.25 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.7318, allocations: 296.6 kB / 1.25 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.7348, allocations: 0.8932 MB / 1.251 GB, free: 448 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3654/1.1, allocations: 20.04 MB / 1.271 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.101, allocations: 1.953 MB / 1.273 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001008/1.103, allocations: 343.2 kB / 1.273 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006583/1.103, allocations: 0.8047 MB / 1.274 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.103, allocations: 0.875 kB / 1.274 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.715/3.818, allocations: 49.38 MB / 1.322 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/3.819, allocations: 313.6 kB / 1.322 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/6.936, allocations: 0 / 1.322 GB, free: 178.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)