Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_twin_pipes_003.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_twin_pipes_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_twin_pipes_003") translateModel(AES.Devel_test_models.Test_twin_pipes_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_twin_pipes_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 115 kB / 16.42 MB, free: 6.512 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.001695/0.001695, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09359/0.09359, allocations: 22.34 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.08979, allocations: 54.95 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_twin_pipes_003): time 0.2304/0.3203, allocations: 21.11 MB / 0.5018 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3317, allocations: 6.602 MB / 0.5082 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004901/0.3366, allocations: 108 kB / 0.5083 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.3399, allocations: 1.201 MB / 0.5095 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.3471, allocations: 3.194 MB / 0.5126 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004574/0.3517, allocations: 2.184 MB / 0.5147 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.3688, allocations: 15.16 MB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.3882, allocations: 12.22 MB / 0.5415 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.3991, allocations: 5.909 MB / 0.5472 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.4111, allocations: 6.91 MB / 0.554 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004205/0.4154, allocations: 1.895 MB / 0.5558 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.4203, allocations: 1.91 MB / 0.5577 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005563/0.4258, allocations: 4.934 MB / 0.5625 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009547/0.4354, allocations: 6.63 MB / 0.569 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.4548, allocations: 20.7 MB / 0.5892 GB, free: 8.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4548, allocations: 0 / 0.5892 GB, free: 8.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4548, allocations: 0 / 0.5892 GB, free: 8.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004592/0.4553, allocations: 0 / 0.5892 GB, free: 8.199 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03356/0.4889, allocations: 11.33 MB / 0.6003 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4889, allocations: 12.03 kB / 0.6003 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.4917, allocations: 0.9677 MB / 0.6012 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009504/0.5012, allocations: 5.71 MB / 0.6068 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/0.5016, allocations: 0.5341 MB / 0.6073 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/0.5035, allocations: 0.8123 MB / 0.6081 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/0.5239, allocations: 11.03 MB / 0.6189 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.5241, allocations: 0 / 0.6189 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008871/0.525, allocations: 292 kB / 0.6192 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.5251, allocations: 178.3 kB / 0.6194 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.5432, allocations: 10.69 MB / 0.6298 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08572/0.6289, allocations: 51.44 MB / 0.68 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03924/0.6682, allocations: 18.71 MB / 0.6983 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01195/0.6802, allocations: 6.012 MB / 0.7042 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000994/0.6812, allocations: 107.4 kB / 0.7043 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.6813, allocations: 108 kB / 0.7044 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005172/0.6865, allocations: 0.518 MB / 0.7049 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=705): time 2.855e-05/0.6866, allocations: 4 kB / 0.7049 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=710): time 0.4927/1.179, allocations: 48.07 MB / 0.7518 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.179, allocations: 123 kB / 0.752 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/1.185, allocations: 3.857 MB / 0.7557 GB, free: 142.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001562/1.186, allocations: 142.1 kB / 0.7559 GB, free: 142 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/1.188, allocations: 2.858 MB / 0.7586 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/1.191, allocations: 2.835 MB / 0.7614 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004543/1.195, allocations: 1.29 MB / 0.7627 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.471e-05/1.195, allocations: 306.3 kB / 0.763 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008274/1.204, allocations: 5.76 MB / 0.7686 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008791/1.213, allocations: 6.402 MB / 0.7748 GB, free: 131.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09481/1.307, allocations: 32.69 MB / 0.8068 GB, free: 103.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/1.307, allocations: 4 kB / 0.8068 GB, free: 103.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.03338/1.341, allocations: 18.41 MB / 0.8248 GB, free: 85.2 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.341, allocations: 8 kB / 0.8248 GB, free: 85.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.341, allocations: 4 kB / 0.8248 GB, free: 85.19 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/1.356, allocations: 5.747 MB / 0.8304 GB, free: 79.05 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008108/1.364, allocations: 1.892 MB / 0.8322 GB, free: 77.23 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.335/1.699, allocations: 230.8 MB / 1.058 GB, free: 94.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008419/1.707, allocations: 371.8 kB / 1.058 GB, free: 94.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/1.709, allocations: 263.3 kB / 1.058 GB, free: 93.95 MB / 0.6075 GB Warning: Assuming fixed start value for the following 3 variables: Tpipec2.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real Tpipe3.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real Tpipe3.tubeH.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01423/1.724, allocations: 7.719 MB / 1.066 GB, free: 90.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009513/1.733, allocations: 6.39 MB / 1.072 GB, free: 87.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01752/1.751, allocations: 12.5 MB / 1.084 GB, free: 81.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.501e-05/1.751, allocations: 7.062 kB / 1.084 GB, free: 81.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=997) (initialization_lambda0): time 0.03161/1.782, allocations: 18.35 MB / 1.102 GB, free: 70.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.782, allocations: 10.5 kB / 1.102 GB, free: 70.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.782, allocations: 8 kB / 1.102 GB, free: 70.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/1.797, allocations: 5.731 MB / 1.108 GB, free: 65.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009074/1.806, allocations: 1.89 MB / 1.11 GB, free: 63.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3491/2.156, allocations: 231 MB / 1.335 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007089/2.163, allocations: 374.3 kB / 1.336 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/2.165, allocations: 262.5 kB / 1.336 GB, free: 17.17 MB / 0.6075 GB Warning: Assuming fixed start value for the following 3 variables: $DER.Tpipec2.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real $DER.Tpipe3.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real $DER.Tpipe3.tubeH.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (823): * Single equations (assignments): 676 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 147 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 145 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (2,22)} Notification: Performance of prepare postOptimizeDAE: time 0.003294/2.168, allocations: 0.5938 MB / 1.336 GB, free: 16.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/2.169, allocations: 0.602 MB / 1.337 GB, free: 16.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/2.195, allocations: 16.33 MB / 1.353 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/2.195, allocations: 41.06 kB / 1.353 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/2.195, allocations: 0 / 1.353 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/2.197, allocations: 0.7604 MB / 1.354 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001991/2.199, allocations: 378.4 kB / 1.354 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004426/2.203, allocations: 320.3 kB / 1.354 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/2.205, allocations: 0.6925 MB / 1.355 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05226/2.257, allocations: 22.99 MB / 1.377 GB, free: 9.613 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03025/2.287, allocations: 20.31 MB / 1.397 GB, free: 5.195 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009271/2.297, allocations: 7.022 MB / 1.404 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004514/2.301, allocations: 2.616 MB / 1.407 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of Backend: time 7.02e-07/2.301, allocations: 0 / 1.407 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.281/2.582, allocations: 49.97 MB / 1.455 GB, free: 163.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0424/2.624, allocations: 32.18 MB / 1.487 GB, free: 147.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.5388/3.163, allocations: 251.9 MB / 1.733 GB, free: 176.9 MB / 0.67 GB make -j1 -f AES_AES.Devel_test_models.Test_twin_pipes_003.makefile (rm -f AES_AES.Devel_test_models.Test_twin_pipes_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_twin_pipes_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_twin_pipes_003.pipe >> ../files/AES_AES.Devel_test_models.Test_twin_pipes_003.sim & ./AES_AES.Devel_test_models.Test_twin_pipes_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_twin_pipes_003.pipe 2>&1)