Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.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) 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: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001353/0.001353, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.541/1.541, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.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.001514/0.001515, allocations: 43.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.1021/0.3995, allocations: 93.2 MB / 418 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03477/0.4343, allocations: 21.76 MB / 439.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.4388, allocations: 115.1 kB / 439.9 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.4422, allocations: 0.8317 MB / 440.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4534, allocations: 3.497 MB / 444.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01417/0.4676, allocations: 5.174 MB / 449.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4797, allocations: 7.085 MB / 456.5 MB, free: 52 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2741/0.7538, allocations: 1.824 MB / 458.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1596/0.9135, allocations: 74.41 MB / 0.5202 GB, free: 488 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06384/0.9774, allocations: 32.11 MB / 0.5516 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002403/0.9798, allocations: 248 kB / 0.5518 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/0.9967, allocations: 6.106 MB / 0.5578 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.9991, allocations: 1.099 MB / 0.5589 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00306/1.002, allocations: 1.499 MB / 0.5603 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/1.014, allocations: 5.469 MB / 0.5657 GB, free: 8.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/1.014, allocations: 4 kB / 0.5657 GB, free: 8.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/1.014, allocations: 0 / 0.5657 GB, free: 8.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000112/1.014, allocations: 0 / 0.5657 GB, free: 8.117 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01015/1.024, allocations: 3.486 MB / 0.5691 GB, free: 4.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/1.024, allocations: 12.03 kB / 0.5691 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.025, allocations: 312.5 kB / 0.5694 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/1.028, allocations: 1.581 MB / 0.5709 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/1.028, allocations: 215.8 kB / 0.5711 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/1.029, allocations: 204.3 kB / 0.5713 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/1.034, allocations: 3.295 MB / 0.5746 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/1.034, allocations: 6.906 kB / 0.5746 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/1.035, allocations: 83.09 kB / 0.5746 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000301/1.035, allocations: 250.8 kB / 0.5749 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/1.041, allocations: 3.103 MB / 0.5779 GB, free: 11.6 MB / 478.1 MB 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.02414/1.065, allocations: 13.77 MB / 0.5914 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/1.069, allocations: 2.237 MB / 0.5935 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/1.071, allocations: 1.348 MB / 0.5949 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009477/1.081, allocations: 5.849 MB / 0.6006 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/1.081, allocations: 56.03 kB / 0.6006 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/1.082, allocations: 181.9 kB / 0.6008 GB, free: 2.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=171): time 3.466e-06/1.082, allocations: 0 / 0.6008 GB, free: 2.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=197): time 0.02399/1.106, allocations: 9.165 MB / 0.6098 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.106, allocations: 72.59 kB / 0.6098 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/1.109, allocations: 1.841 MB / 0.6116 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000435/1.11, allocations: 61.7 kB / 0.6117 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/1.111, allocations: 1.06 MB / 0.6127 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008527/1.111, allocations: 0.6742 MB / 0.6134 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007762/1.112, allocations: 464.3 kB / 0.6138 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.112, allocations: 301.1 kB / 0.6141 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/1.114, allocations: 1.233 MB / 0.6153 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/1.117, allocations: 1.801 MB / 0.6171 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/1.122, allocations: 3.165 MB / 0.6202 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/1.122, allocations: 4 kB / 0.6202 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008152/1.13, allocations: 4.293 MB / 0.6243 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.13, allocations: 12 kB / 0.6244 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/1.13, allocations: 24.12 kB / 0.6244 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/1.144, allocations: 3.65 MB / 0.6279 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.145, allocations: 325.9 kB / 0.6283 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007934/1.153, allocations: 3.949 MB / 0.6321 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/1.156, allocations: 191.7 kB / 0.6323 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/1.157, allocations: 112 kB / 0.6324 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00324/1.16, allocations: 1.676 MB / 0.634 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.205/1.365, allocations: 1.755 MB / 0.6358 GB, free: 254.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005958/1.371, allocations: 3.048 MB / 0.6387 GB, free: 253.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.394e-05/1.371, allocations: 5.594 kB / 0.6387 GB, free: 253.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.00868/1.38, allocations: 4.024 MB / 0.6427 GB, free: 252 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.38, allocations: 15.67 kB / 0.6427 GB, free: 252 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/1.38, allocations: 23.19 kB / 0.6427 GB, free: 252 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009114/1.389, allocations: 2.755 MB / 0.6454 GB, free: 251.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.391, allocations: 379.2 kB / 0.6458 GB, free: 251.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/1.396, allocations: 3.469 MB / 0.6491 GB, free: 249.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/1.399, allocations: 176.7 kB / 0.6493 GB, free: 249.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.399, allocations: 114.2 kB / 0.6494 GB, free: 249.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * 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 {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.0006468/1.4, allocations: 317.7 kB / 0.6497 GB, free: 249.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005019/1.4, allocations: 229.2 kB / 0.6499 GB, free: 249.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/1.407, allocations: 3.953 MB / 0.6538 GB, free: 247.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.407, allocations: 22.25 kB / 0.6538 GB, free: 247.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.407, allocations: 3.406 kB / 0.6538 GB, free: 247.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004675/1.411, allocations: 3.37 MB / 0.6571 GB, free: 244.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009222/1.421, allocations: 6.292 MB / 0.6633 GB, free: 238.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.421, allocations: 0 / 0.6633 GB, free: 238.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.422, allocations: 323.5 kB / 0.6636 GB, free: 237.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003814/1.426, allocations: 1.159 MB / 0.6647 GB, free: 236.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/1.426, allocations: 75.78 kB / 0.6648 GB, free: 236.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/1.434, allocations: 11.07 MB / 0.6756 GB, free: 224.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.434, allocations: 0 / 0.6756 GB, free: 224.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/1.442, allocations: 5.181 MB / 0.6806 GB, free: 219.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.443, allocations: 0.5932 MB / 0.6812 GB, free: 219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/1.443, allocations: 55.98 kB / 0.6813 GB, free: 219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.445, allocations: 150.7 kB / 0.6814 GB, free: 218.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/1.445, allocations: 169.7 kB / 0.6816 GB, free: 218.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.446, allocations: 80.14 kB / 0.6817 GB, free: 218.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001695/1.447, allocations: 1.261 MB / 0.6829 GB, free: 217.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.6e-07/1.447, allocations: 0 / 0.6829 GB, free: 217.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00472/1.452, allocations: 1.738 MB / 0.6846 GB, free: 215.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (5,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002209/1.454, allocations: 1.012 MB / 0.6856 GB, free: 214.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.468, allocations: 6.845 MB / 0.6923 GB, free: 208.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.468, allocations: 0 / 0.6923 GB, free: 208.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/1.472, allocations: 2.251 MB / 0.6945 GB, free: 205.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.477, allocations: 1.054 MB / 0.6955 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008453/1.485, allocations: 6.635 MB / 0.702 GB, free: 198.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.486, allocations: 1.879 MB / 0.7038 GB, free: 196.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002883/1.489, allocations: 0.9565 MB / 0.7047 GB, free: 195.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/1.49, allocations: 191.4 kB / 0.7049 GB, free: 195.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/1.49, allocations: 0 / 0.7049 GB, free: 195.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.08681/1.577, allocations: 74.77 MB / 0.7779 GB, free: 120.4 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)