Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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: translateModel(AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001291/0.001291, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.254/1.254, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0556/0.0556, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000513/0.000513, allocations: 27.97 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.424/1.424, allocations: 268.3 MB / 0.6618 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 119.8 kB / 0.888 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4754, allocations: 108.4 MB / 0.9938 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.156/0.6315, allocations: 171 MB / 1.161 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005444/0.637, allocations: 4.279 MB / 1.165 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.6374, allocations: 23.88 kB / 1.165 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.6383, allocations: 366 kB / 1.165 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.6402, allocations: 1.031 MB / 1.166 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.6419, allocations: 0.8246 MB / 1.167 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.6432, allocations: 1.286 MB / 1.168 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.6437, allocations: 490.8 kB / 1.169 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.6448, allocations: 0.6966 MB / 1.17 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008941/0.6457, allocations: 451 kB / 1.17 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.296e-05/0.6458, allocations: 52 kB / 1.17 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.6472, allocations: 0.916 MB / 1.171 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.6474, allocations: 219.3 kB / 1.171 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.6477, allocations: 330.7 kB / 1.171 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.649, allocations: 1.137 MB / 1.173 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.649, allocations: 0 / 1.173 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.649, allocations: 0 / 1.173 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.649, allocations: 0 / 1.173 GB, free: 14.71 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001412/0.6504, allocations: 0.9727 MB / 1.174 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.6505, allocations: 8.031 kB / 1.174 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.652, allocations: 259.4 kB / 1.174 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.6528, allocations: 0.5056 MB / 1.174 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.6528, allocations: 29 kB / 1.174 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.6529, allocations: 40 kB / 1.174 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.6541, allocations: 0.6185 MB / 1.175 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6541, allocations: 3.984 kB / 1.175 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.6541, allocations: 20 kB / 1.175 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.6542, allocations: 20.94 kB / 1.175 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6555, allocations: 0.5503 MB / 1.176 GB, free: 11.59 MB / 0.8575 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.003549/0.659, allocations: 2.277 MB / 1.178 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.6599, allocations: 274.4 kB / 1.178 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.6604, allocations: 168.7 kB / 1.178 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.6604, allocations: 4 kB / 1.178 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.6605, allocations: 34.56 kB / 1.178 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.6605, allocations: 0 / 1.178 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.004774/0.6652, allocations: 1.1 MB / 1.179 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.6653, allocations: 81.05 kB / 1.179 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.6659, allocations: 0.5496 MB / 1.18 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.6659, allocations: 37.7 kB / 1.18 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.6661, allocations: 300.1 kB / 1.18 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.6661, allocations: 43.69 kB / 1.18 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.6663, allocations: 61.66 kB / 1.18 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6664, allocations: 354.8 kB / 1.181 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.6669, allocations: 191.8 kB / 1.181 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.6675, allocations: 274.1 kB / 1.181 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6686, allocations: 406.1 kB / 1.181 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6686, allocations: 0 / 1.181 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002469/0.6711, allocations: 0.7344 MB / 1.182 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6711, allocations: 14.12 kB / 1.182 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6711, allocations: 0 / 1.182 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.6717, allocations: 192.8 kB / 1.182 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.672, allocations: 63.89 kB / 1.182 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.6756, allocations: 2.232 MB / 1.185 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.6762, allocations: 75.69 kB / 1.185 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.6762, allocations: 11.98 kB / 1.185 GB, free: 1.715 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.6764, allocations: 189.8 kB / 1.185 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/0.6765, allocations: 55.61 kB / 1.185 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.6766, allocations: 56.03 kB / 1.185 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.6766, allocations: 0 / 1.185 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6766, allocations: 0 / 1.185 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.6768, allocations: 172.7 kB / 1.185 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.6769, allocations: 0 / 1.185 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.6774, allocations: 51.94 kB / 1.185 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.6775, allocations: 19.91 kB / 1.185 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0022/0.6797, allocations: 0.6208 MB / 1.186 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001635/0.6813, allocations: 0.7379 MB / 1.187 GB, free: 15.77 MB / 0.8732 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004849/0.6818, allocations: 167.8 kB / 1.187 GB, free: 15.6 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.000383/0.6822, allocations: 390.8 kB / 1.187 GB, free: 15.22 MB / 0.8732 GB Notification: Performance of Backend: time 1.753e-06/0.6822, allocations: 0 / 1.187 GB, free: 15.22 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.684, allocations: 0.6454 MB / 1.188 GB, free: 14.57 MB / 0.8732 GB Notification: Performance of SimCode: time 0.002/0.686, allocations: 1.547 MB / 1.189 GB, free: 12.98 MB / 0.8732 GB Notification: Performance of Templates: time 0.01967/0.7057, allocations: 14.14 MB / 1.203 GB, free: 15.05 MB / 0.8888 GB make -j1 -f AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)