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.001314/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001033/0.001033, allocations: 193.3 kB / 16.14 MB, free: 6.734 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.182/1.182, allocations: 205.1 MB / 222 MB, free: 4.723 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.474/1.474, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001307/0.001307, allocations: 68.5 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4729/0.6387, allocations: 176.8 MB / 0.9555 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.651, allocations: 10.9 MB / 0.9661 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.6532, allocations: 72.72 kB / 0.9662 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005842/0.6591, allocations: 1.841 MB / 0.968 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.6624, allocations: 1.473 MB / 0.9695 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.6637, allocations: 0.7095 MB / 0.9701 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002735/0.6665, allocations: 3.683 MB / 0.9737 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.6676, allocations: 1.161 MB / 0.9749 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.6688, allocations: 0.9886 MB / 0.9758 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.6702, allocations: 1.115 MB / 0.9769 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.6704, allocations: 87.25 kB / 0.977 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.6718, allocations: 1.003 MB / 0.978 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.6722, allocations: 435.7 kB / 0.9784 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.6729, allocations: 1.035 MB / 0.9794 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.6749, allocations: 3.097 MB / 0.9824 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6749, allocations: 0 / 0.9824 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.41e-07/0.6749, allocations: 0 / 0.9824 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.107e-05/0.675, allocations: 1.031 kB / 0.9824 GB, free: 2.148 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.002936/0.6779, allocations: 2.71 MB / 0.9851 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.678, allocations: 8.156 kB / 0.9851 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.6781, allocations: 129.6 kB / 0.9852 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.6792, allocations: 373.5 kB / 0.9856 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.682, allocations: 1.866 MB / 0.9874 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.682, allocations: 57.94 kB / 0.9875 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.6822, allocations: 73.62 kB / 0.9875 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.6839, allocations: 0.9358 MB / 0.9884 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.6839, allocations: 6.703 kB / 0.9884 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.684, allocations: 35.19 kB / 0.9885 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.6841, allocations: 34.62 kB / 0.9885 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6856, allocations: 0.6985 MB / 0.9892 GB, free: 15.72 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.006348/0.6919, allocations: 4.47 MB / 0.9936 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.6926, allocations: 329.7 kB / 0.9939 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.6929, allocations: 179.8 kB / 0.994 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.6932, allocations: 94.17 kB / 0.9941 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.6932, allocations: 41.77 kB / 0.9942 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.6932, allocations: 0 / 0.9942 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.002574/0.6958, allocations: 1.698 MB / 0.9958 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.6958, allocations: 56.44 kB / 0.9959 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.6988, allocations: 2.965 MB / 0.9988 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.6988, allocations: 37.27 kB / 0.9988 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007645/0.6996, allocations: 1.052 MB / 0.9998 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.824e-05/0.6997, allocations: 117.8 kB / 1 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.6999, allocations: 110.2 kB / 1 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.7, allocations: 322.8 kB / 1 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.7002, allocations: 165 kB / 1.001 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.7005, allocations: 369 kB / 1.001 GB, free: 8.934 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.001756/0.7023, allocations: 1.073 MB / 1.002 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7023, allocations: 3.938 kB / 1.002 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009469/0.7032, allocations: 0.7901 MB / 1.003 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7032, allocations: 7.938 kB / 1.003 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7033, allocations: 8.406 kB / 1.003 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.7034, allocations: 71.53 kB / 1.003 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.7037, allocations: 100.7 kB / 1.003 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.705, allocations: 1.668 MB / 1.005 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.7058, allocations: 45.44 kB / 1.005 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.7059, allocations: 21.97 kB / 1.005 GB, free: 6.051 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.0008467/0.7067, allocations: 0.8027 MB / 1.005 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.7069, allocations: 231.9 kB / 1.006 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.7072, allocations: 255.9 kB / 1.006 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.7072, allocations: 4.781 kB / 1.006 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.7072, allocations: 0 / 1.006 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000552/0.7078, allocations: 0.5981 MB / 1.006 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.7102, allocations: 2.051 MB / 1.008 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7102, allocations: 5.25 kB / 1.008 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.7105, allocations: 66.66 kB / 1.008 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.7106, allocations: 62.31 kB / 1.009 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.7106, allocations: 11.94 kB / 1.009 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.7118, allocations: 1.677 MB / 1.01 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7118, allocations: 6.406 kB / 1.01 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.7131, allocations: 0.9574 MB / 1.011 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00077/0.7139, allocations: 414.6 kB / 1.012 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/0.7142, allocations: 8.781 kB / 1.012 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/0.7152, allocations: 27.52 kB / 1.012 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.7153, allocations: 33.5 kB / 1.012 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.7153, allocations: 14 kB / 1.012 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003489/0.7188, allocations: 2.1 MB / 1.014 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7189, allocations: 0 / 1.014 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001391/0.7203, allocations: 304.9 kB / 1.014 GB, free: 15.52 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.002064/0.7223, allocations: 1.569 MB / 1.015 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.7234, allocations: 0.5226 MB / 1.016 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7234, allocations: 2.781 kB / 1.016 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.7239, allocations: 308.5 kB / 1.016 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.003058/0.727, allocations: 0.8947 MB / 1.017 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/0.757, allocations: 20 MB / 1.037 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.7585, allocations: 1.953 MB / 1.039 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001107/0.7596, allocations: 338.4 kB / 1.039 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.7605, allocations: 0.7922 MB / 1.04 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 7.42e-07/0.7605, allocations: 4 kB / 1.04 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.435/4.196, allocations: 49.35 MB / 1.088 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/4.196, allocations: 299 kB / 1.088 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/7.193, allocations: 4 kB / 1.088 GB, free: 10.05 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)