Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_002.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_HP_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_002") translateModel(AES.Devel_test_models.Test_HP_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001106/0.001107, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09407/0.09407, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 437.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09009, allocations: 54.95 MB / 492.7 MB, free: 4.715 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_002): time 0.355/0.4451, allocations: 24.99 MB / 0.5055 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.4477, allocations: 1.574 MB / 0.5071 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.448, allocations: 24.34 kB / 0.5071 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.4484, allocations: 227.3 kB / 0.5073 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007468/0.4492, allocations: 0.5975 MB / 0.5079 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.4499, allocations: 431 kB / 0.5083 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.4522, allocations: 2.986 MB / 0.5112 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.4542, allocations: 2.112 MB / 0.5133 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.4554, allocations: 1.14 MB / 0.5144 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.457, allocations: 1.367 MB / 0.5157 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004209/0.4574, allocations: 342.9 kB / 0.5161 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.4579, allocations: 338.2 kB / 0.5164 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000819/0.4588, allocations: 0.962 MB / 0.5173 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.4601, allocations: 1.28 MB / 0.5186 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.4629, allocations: 3.656 MB / 0.5222 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4629, allocations: 0 / 0.5222 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4629, allocations: 0 / 0.5222 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.463, allocations: 5.031 kB / 0.5222 GB, free: 1.172 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 394 * Number of variables: 394 Notification: Performance of Generate backend data structure: time 0.005832/0.4688, allocations: 2.714 MB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4688, allocations: 8.938 kB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.4693, allocations: 199.9 kB / 0.525 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.4712, allocations: 1.141 MB / 0.5261 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.4713, allocations: 119 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.4716, allocations: 183.2 kB / 0.5264 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.4755, allocations: 2.202 MB / 0.5286 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4755, allocations: 0.9688 kB / 0.5286 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.4757, allocations: 65.06 kB / 0.5286 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.4758, allocations: 37.16 kB / 0.5287 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.4791, allocations: 1.969 MB / 0.5306 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.4918, allocations: 9.242 MB / 0.5396 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007707/0.4995, allocations: 3.226 MB / 0.5428 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.5012, allocations: 1.209 MB / 0.5439 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-05/0.5013, allocations: 18.59 kB / 0.544 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5013, allocations: 55 kB / 0.544 GB, free: 2.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=160): time 4.639e-06/0.5014, allocations: 3.984 kB / 0.544 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=160): time 0.01462/0.516, allocations: 6.932 MB / 0.5508 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.516, allocations: 67.22 kB / 0.5508 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.517, allocations: 0.7972 MB / 0.5516 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.5172, allocations: 49.33 kB / 0.5517 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.5176, allocations: 0.5858 MB / 0.5522 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/0.5182, allocations: 0.6202 MB / 0.5528 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006164/0.5189, allocations: 304.3 kB / 0.5531 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.519, allocations: 305.1 kB / 0.5534 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.5207, allocations: 1.185 MB / 0.5546 GB, free: 10.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.5226, allocations: 1.335 MB / 0.5559 GB, free: 9.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.5261, allocations: 2.588 MB / 0.5584 GB, free: 8.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5261, allocations: 0 / 0.5584 GB, free: 8.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007577/0.5337, allocations: 3.899 MB / 0.5622 GB, free: 6.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5337, allocations: 5.562 kB / 0.5622 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.5338, allocations: 0 / 0.5622 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/0.5384, allocations: 1.288 MB / 0.5635 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.5405, allocations: 439.5 kB / 0.5639 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/0.572, allocations: 37.3 MB / 0.6003 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.5739, allocations: 166.6 kB / 0.6005 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.5743, allocations: 59.98 kB / 0.6006 GB, free: 11.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (179): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (9,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001298/0.5757, allocations: 0.5098 MB / 0.6011 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.5761, allocations: 122.5 kB / 0.6012 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/0.5835, allocations: 3.452 MB / 0.6045 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.5835, allocations: 7.969 kB / 0.6045 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5836, allocations: 0 / 0.6045 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.584, allocations: 243.2 kB / 0.6048 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.5845, allocations: 87.97 kB / 0.6049 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.5857, allocations: 79.89 kB / 0.6049 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/0.5861, allocations: 169.1 kB / 0.6051 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01324/0.5993, allocations: 4.917 MB / 0.6099 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006458/0.6058, allocations: 4.277 MB / 0.6141 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00193/0.6078, allocations: 1.392 MB / 0.6154 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007923/0.6086, allocations: 0.5576 MB / 0.616 GB, free: 11.93 MB / 478.1 MB Notification: Performance of Backend: time 6.02e-07/0.6086, allocations: 11.94 kB / 0.616 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006698/0.6153, allocations: 4.554 MB / 0.6204 GB, free: 7.078 MB / 478.1 MB Notification: Performance of SimCode: time 0.009093/0.6244, allocations: 7.404 MB / 0.6277 GB, free: 15.64 MB / 494.1 MB Notification: Performance of Templates: time 0.05518/0.6796, allocations: 38.61 MB / 0.6654 GB, free: 9.219 MB / 0.5138 GB make -j1 -f AES_AES.Devel_test_models.Test_HP_002.makefile (rm -f AES_AES.Devel_test_models.Test_HP_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_002.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_002.sim & ./AES_AES.Devel_test_models.Test_HP_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HP_002.pipe 2>&1)