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.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.24/1.24, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.6/1.6, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001605/0.001605, allocations: 68.33 kB / 0.6716 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1739, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4867/0.6606, allocations: 179.2 MB / 0.9585 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.6724, allocations: 10.94 MB / 0.9692 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.6744, allocations: 80.22 kB / 0.9693 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.6788, allocations: 1.991 MB / 0.9712 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.6824, allocations: 1.609 MB / 0.9728 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.6841, allocations: 0.7822 MB / 0.9735 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003039/0.6871, allocations: 3.107 MB / 0.9766 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.6884, allocations: 1.306 MB / 0.9779 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.6897, allocations: 1.098 MB / 0.9789 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.6912, allocations: 1.113 MB / 0.98 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.6914, allocations: 130.8 kB / 0.9801 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.6928, allocations: 0.9202 MB / 0.981 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.6932, allocations: 484.3 kB / 0.9815 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008111/0.694, allocations: 1.088 MB / 0.9826 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.6965, allocations: 3.206 MB / 0.9857 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.6965, allocations: 0 / 0.9857 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6965, allocations: 3.938 kB / 0.9857 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.6965, allocations: 7.062 kB / 0.9857 GB, free: 9.762 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.002943/0.6995, allocations: 2.744 MB / 0.9884 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.6995, allocations: 10.62 kB / 0.9884 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.6996, allocations: 123.7 kB / 0.9885 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.7008, allocations: 368 kB / 0.9889 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.7029, allocations: 1.881 MB / 0.9907 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.703, allocations: 58.73 kB / 0.9907 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/0.7031, allocations: 74.38 kB / 0.9908 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.7042, allocations: 0.9464 MB / 0.9917 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.7042, allocations: 0 / 0.9917 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.7043, allocations: 38.08 kB / 0.9918 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.7043, allocations: 27.34 kB / 0.9918 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.7052, allocations: 0.6958 MB / 0.9925 GB, free: 5.184 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.004261/0.7095, allocations: 4.484 MB / 0.9969 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.7099, allocations: 332 kB / 0.9972 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.7101, allocations: 176.7 kB / 0.9974 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.7103, allocations: 97.84 kB / 0.9974 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.7103, allocations: 32.91 kB / 0.9975 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.7103, allocations: 4 kB / 0.9975 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.002293/0.7126, allocations: 1.702 MB / 0.9991 GB, free: 4 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.7127, allocations: 56.28 kB / 0.9992 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.7155, allocations: 2.964 MB / 1.002 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.7155, allocations: 36.2 kB / 1.002 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/0.7163, allocations: 1.057 MB / 1.003 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.7164, allocations: 106 kB / 1.003 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.7165, allocations: 107.5 kB / 1.003 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.7166, allocations: 330.8 kB / 1.004 GB, free: 13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.7168, allocations: 161.2 kB / 1.004 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.7172, allocations: 368.7 kB / 1.004 GB, free: 12.57 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.001729/0.7189, allocations: 1.074 MB / 1.005 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7189, allocations: 10.02 kB / 1.005 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000924/0.7198, allocations: 0.7911 MB / 1.006 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.7199, allocations: 7.656 kB / 1.006 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7199, allocations: 4.688 kB / 1.006 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.7201, allocations: 68.66 kB / 1.006 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.7204, allocations: 101.4 kB / 1.006 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.7216, allocations: 1.858 MB / 1.008 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.7223, allocations: 39.83 kB / 1.008 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.7223, allocations: 27.5 kB / 1.008 GB, free: 9.504 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.0007185/0.7231, allocations: 0.7979 MB / 1.009 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.7233, allocations: 232.6 kB / 1.009 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.7236, allocations: 253.1 kB / 1.009 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7236, allocations: 2.75 kB / 1.009 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7236, allocations: 0 / 1.009 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005537/0.7241, allocations: 0.6006 MB / 1.01 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.7264, allocations: 2.05 MB / 1.012 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7264, allocations: 2.844 kB / 1.012 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.7267, allocations: 69.09 kB / 1.012 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.7268, allocations: 59.16 kB / 1.012 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.7269, allocations: 9.062 kB / 1.012 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.7281, allocations: 1.871 MB / 1.014 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7281, allocations: 5.281 kB / 1.014 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.729, allocations: 0.9502 MB / 1.015 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.7295, allocations: 408.1 kB / 1.015 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.7297, allocations: 15.44 kB / 1.015 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.7302, allocations: 9.281 kB / 1.015 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.7303, allocations: 34.42 kB / 1.015 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.7303, allocations: 10.75 kB / 1.015 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002094/0.7324, allocations: 2.108 MB / 1.017 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7324, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007835/0.7332, allocations: 299.6 kB / 1.018 GB, free: 2.812 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.001363/0.7346, allocations: 1.559 MB / 1.019 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000714/0.7353, allocations: 0.5575 MB / 1.02 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7353, allocations: 2.75 kB / 1.02 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.7357, allocations: 297.2 kB / 1.02 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.7386, allocations: 0.9436 MB / 1.021 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.7575, allocations: 19.56 MB / 1.04 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.7589, allocations: 1.953 MB / 1.042 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009074/0.7598, allocations: 338.4 kB / 1.042 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/0.7606, allocations: 0.7961 MB / 1.043 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/0.7606, allocations: 0 / 1.043 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9638/1.724, allocations: 50.65 MB / 1.092 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.36, allocations: 4 kB / 1.092 GB, free: 7.781 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)