Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_HP_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_001") translateModel(AES.Devel_test_models.Test_HP_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_001") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09471/0.09471, allocations: 21.61 MB / 37.41 MB, free: 0.7539 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 192.5 kB / 43.64 MB, free: 3.562 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 254.8 MB, free: 14.26 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 105.2 kB / 307.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 53.05 kB / 372.3 MB, free: 59.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0778/0.07883, allocations: 51.98 MB / 424.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002172/0.08104, allocations: 1.742 MB / 426.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.08119, allocations: 59.81 kB / 426.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.08124, allocations: 0 / 426.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/0.08129, allocations: 7.922 kB / 426.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.08141, allocations: 23.84 kB / 426.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.174e-05/0.08146, allocations: 15.98 kB / 426.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.08154, allocations: 71.67 kB / 426.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.08165, allocations: 31.97 kB / 426.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.08168, allocations: 23.92 kB / 426.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.08175, allocations: 39.84 kB / 426.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.08178, allocations: 4 kB / 426.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.0818, allocations: 4 kB / 426.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.08182, allocations: 15.94 kB / 426.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.08185, allocations: 39.73 kB / 426.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.08194, allocations: 75.77 kB / 426.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.08195, allocations: 0 / 426.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08195, allocations: 3.984 kB / 426.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.08196, allocations: 0 / 426.5 MB, free: 12.37 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003091/0.08227, allocations: 371.6 kB / 426.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.08231, allocations: 12.03 kB / 426.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.08234, allocations: 8.844 kB / 426.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.193e-05/0.08241, allocations: 176.2 kB / 427 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.08242, allocations: 8.562 kB / 427 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.08244, allocations: 12.38 kB / 427 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.08257, allocations: 97.84 kB / 427.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.08259, allocations: 0 / 427.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.0826, allocations: 4 kB / 427.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.08261, allocations: 4 kB / 427.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.08269, allocations: 51.97 kB / 427.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.08311, allocations: 453.6 kB / 427.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.08319, allocations: 58.62 kB / 427.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.08323, allocations: 20.86 kB / 427.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.08325, allocations: 0 / 427.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.08327, allocations: 38.53 kB / 427.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.08328, allocations: 4 kB / 427.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000156/0.08344, allocations: 73.59 kB / 427.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.08347, allocations: 55.34 kB / 427.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.08353, allocations: 105.8 kB / 428 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.08354, allocations: 29.7 kB / 428 MB, free: 10.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.08358, allocations: 112 kB / 428.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.08359, allocations: 19.73 kB / 428.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.08363, allocations: 21.72 kB / 428.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.08367, allocations: 318.8 kB / 428.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.08371, allocations: 12 kB / 428.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.08374, allocations: 38.5 kB / 428.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/0.08381, allocations: 58.56 kB / 428.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.08381, allocations: 0 / 428.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.132e-05/0.08391, allocations: 89.5 kB / 428.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.08393, allocations: 4 kB / 428.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.08393, allocations: 3.938 kB / 428.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.08395, allocations: 4 kB / 428.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.08407, allocations: 16 kB / 428.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.08408, allocations: 3.938 kB / 428.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.08412, allocations: 8.062 kB / 428.7 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.08414, allocations: 7.984 kB / 428.7 MB, free: 9.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.08419, allocations: 113.8 kB / 428.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.08422, allocations: 3.906 kB / 428.8 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.08434, allocations: 78.5 kB / 428.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.08435, allocations: 3.984 kB / 428.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.08436, allocations: 3.938 kB / 428.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.08437, allocations: 4 kB / 428.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.0845, allocations: 193.6 kB / 429.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.0845, allocations: 0 / 429.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.08457, allocations: 16 kB / 429.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.08457, allocations: 0 / 429.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.08459, allocations: 3.938 kB / 429.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.08459, allocations: 0 / 429.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0846, allocations: 3.938 kB / 429.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.08481, allocations: 0.724 MB / 429.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.08484, allocations: 89.03 kB / 429.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.08485, allocations: 0 / 429.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.08491, allocations: 4 kB / 429.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.08494, allocations: 0 / 429.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.08495, allocations: 4 kB / 429.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.463e-05/0.08498, allocations: 91.2 kB / 430 MB, free: 8.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08498, allocations: 192 / 430 MB, free: 8.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.08529, allocations: 19.91 kB / 430.1 MB, free: 8.367 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.525e-05/0.08536, allocations: 99.19 kB / 430.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.08545, allocations: 39.98 kB / 430.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.08546, allocations: 3.938 kB / 430.2 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.08548, allocations: 16 kB / 430.2 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.08573, allocations: 15.92 kB / 430.2 MB, free: 8.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.08606, allocations: 319.2 kB / 430.5 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.08615, allocations: 0.7004 MB / 431.2 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.0862, allocations: 8 kB / 431.2 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.08622, allocations: 15.38 kB / 431.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.08623, allocations: 0 / 431.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of Templates: time 0.001848/0.08808, allocations: 488.8 kB / 431.7 MB, free: 6.613 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_HP_001.makefile (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & ./AES_AES.Devel_test_models.Test_HP_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1)