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.001126/0.001126, allocations: 109.4 kB / 15.69 MB, free: 128 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.001224/0.001224, allocations: 186.8 kB / 16.62 MB, free: 6.613 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.29/1.29, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.601/1.601, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001389/0.00139, allocations: 70.88 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2004, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5593/0.7598, allocations: 179.2 MB / 0.9587 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.7747, allocations: 10.93 MB / 0.9693 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003479/0.7782, allocations: 91.38 kB / 0.9694 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005992/0.7842, allocations: 1.993 MB / 0.9714 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.7895, allocations: 1.611 MB / 0.9729 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.7921, allocations: 0.784 MB / 0.9737 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005227/0.7974, allocations: 3.117 MB / 0.9768 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.7995, allocations: 1.307 MB / 0.978 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.8019, allocations: 1.101 MB / 0.9791 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.8043, allocations: 1.111 MB / 0.9802 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.8047, allocations: 128.6 kB / 0.9803 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.8069, allocations: 0.9143 MB / 0.9812 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.8074, allocations: 477.2 kB / 0.9817 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.8087, allocations: 1.09 MB / 0.9827 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.8125, allocations: 3.236 MB / 0.9859 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8125, allocations: 0 / 0.9859 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8125, allocations: 0 / 0.9859 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.868e-05/0.8126, allocations: 0 / 0.9859 GB, free: 9.699 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.004046/0.8166, allocations: 2.741 MB / 0.9886 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8167, allocations: 14.66 kB / 0.9886 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.8168, allocations: 127.5 kB / 0.9887 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.8182, allocations: 367.9 kB / 0.989 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.8213, allocations: 1.997 MB / 0.991 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.8213, allocations: 56.88 kB / 0.9911 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.8214, allocations: 74.28 kB / 0.9911 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.8228, allocations: 0.9448 MB / 0.992 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.8228, allocations: 2.75 kB / 0.992 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.8229, allocations: 30.69 kB / 0.9921 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.8229, allocations: 30.34 kB / 0.9921 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.8239, allocations: 0.6962 MB / 0.9928 GB, free: 5.051 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.005586/0.8295, allocations: 4.438 MB / 0.9971 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.83, allocations: 335.8 kB / 0.9974 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.8302, allocations: 179.4 kB / 0.9976 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.8304, allocations: 96.83 kB / 0.9977 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.8304, allocations: 34.55 kB / 0.9977 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.305e-06/0.8304, allocations: 10 kB / 0.9977 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.00309/0.8335, allocations: 1.692 MB / 0.9994 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.8336, allocations: 53.84 kB / 0.9995 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.8371, allocations: 2.941 MB / 1.002 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.8372, allocations: 31.58 kB / 1.002 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/0.838, allocations: 1.061 MB / 1.003 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.8381, allocations: 112.3 kB / 1.003 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.8383, allocations: 107.8 kB / 1.004 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.8384, allocations: 331.1 kB / 1.004 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.8386, allocations: 161.6 kB / 1.004 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.839, allocations: 367.5 kB / 1.004 GB, free: 12.46 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.001833/0.8408, allocations: 1.077 MB / 1.005 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.8408, allocations: 6.969 kB / 1.005 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001147/0.842, allocations: 0.7966 MB / 1.006 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.842, allocations: 10 kB / 1.006 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.842, allocations: 4.844 kB / 1.006 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.8422, allocations: 60.11 kB / 1.006 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.8425, allocations: 110.5 kB / 1.006 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.844, allocations: 1.855 MB / 1.008 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.8449, allocations: 28.88 kB / 1.008 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.845, allocations: 28.06 kB / 1.008 GB, free: 9.402 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.0009582/0.846, allocations: 0.7895 MB / 1.009 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.8463, allocations: 233.4 kB / 1.009 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.8467, allocations: 254.2 kB / 1.01 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8467, allocations: 13.06 kB / 1.01 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8467, allocations: 0 / 1.01 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006113/0.8473, allocations: 0.6005 MB / 1.01 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.8504, allocations: 2.041 MB / 1.012 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.8504, allocations: 6.812 kB / 1.012 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.8507, allocations: 61.97 kB / 1.012 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.8508, allocations: 59.41 kB / 1.012 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.8509, allocations: 14.69 kB / 1.012 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.8523, allocations: 1.865 MB / 1.014 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8523, allocations: 2.75 kB / 1.014 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.8535, allocations: 0.9455 MB / 1.015 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/0.8543, allocations: 411.7 kB / 1.015 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.8547, allocations: 12.7 kB / 1.015 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.8554, allocations: 14.83 kB / 1.015 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.8555, allocations: 40.55 kB / 1.015 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.8555, allocations: 20.67 kB / 1.015 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003132/0.8586, allocations: 2.074 MB / 1.018 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8587, allocations: 3.938 kB / 1.018 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001172/0.8598, allocations: 304.1 kB / 1.018 GB, free: 2.727 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.001833/0.8617, allocations: 1.555 MB / 1.019 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008937/0.8626, allocations: 0.5316 MB / 1.02 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.8626, allocations: 4.125 kB / 1.02 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.863, allocations: 303.2 kB / 1.02 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/0.8668, allocations: 0.9467 MB / 1.021 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/0.8931, allocations: 17.04 MB / 1.038 GB, free: 356 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.8953, allocations: 1.949 MB / 1.04 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00125/0.8966, allocations: 334.7 kB / 1.04 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.8977, allocations: 0.8078 MB / 1.041 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of SimCode: time 1.031e-06/0.8977, allocations: 0 / 1.041 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08711/0.9848, allocations: 50.62 MB / 1.09 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.4, allocations: 14.05 kB / 1.09 GB, free: 11.27 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)