Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.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.ProcessComponents.Thermal.Liquid.LumpedPlanarWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall") translateModel(AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall") [/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.08984/0.08984, allocations: 21.6 MB / 37.4 MB, free: 0.7656 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.00123/0.00123, allocations: 188.5 kB / 43.64 MB, free: 3.57 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.263/1.263, allocations: 205.1 MB / 254.8 MB, free: 14.34 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.0009518/0.0009517, allocations: 102.3 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009803/0.0009803, allocations: 52.84 kB / 372.3 MB, free: 59.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0713/0.07229, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall): time 0.00236/0.0747, allocations: 1.494 MB / 425.8 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.07493, allocations: 71.77 kB / 425.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.07499, allocations: 3.938 kB / 425.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.0751, allocations: 15.92 kB / 425.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.806e-05/0.07522, allocations: 35.8 kB / 425.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.07537, allocations: 27.91 kB / 426 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.07566, allocations: 403.3 kB / 426.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.07576, allocations: 27.92 kB / 426.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.07588, allocations: 99.81 kB / 426.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.07606, allocations: 147.7 kB / 426.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.0761, allocations: 12 kB / 426.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.07615, allocations: 12 kB / 426.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.07624, allocations: 99.69 kB / 426.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.07635, allocations: 95.62 kB / 426.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.0765, allocations: 191.4 kB / 427 MB, free: 11.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.07651, allocations: 4 kB / 427 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.07652, allocations: 0 / 427 MB, free: 11.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.07653, allocations: 0 / 427 MB, free: 11.77 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009082/0.07744, allocations: 0.5925 MB / 427.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.07748, allocations: 12.03 kB / 427.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.07753, allocations: 16.75 kB / 427.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.07777, allocations: 248 kB / 427.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.07779, allocations: 8.375 kB / 427.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.07784, allocations: 20.28 kB / 427.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.07815, allocations: 270.2 kB / 428.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.07816, allocations: 4.172 kB / 428.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.07819, allocations: 11.94 kB / 428.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.0782, allocations: 8 kB / 428.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.0784, allocations: 163.8 kB / 428.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.07949, allocations: 0.9783 MB / 429.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.0799, allocations: 401.1 kB / 429.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.08005, allocations: 140.3 kB / 429.9 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.08008, allocations: 0 / 429.9 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.0801, allocations: 46.56 kB / 429.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.112e-06/0.08011, allocations: 3.938 kB / 429.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005568/0.08067, allocations: 382.2 kB / 430.3 MB, free: 8.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.08072, allocations: 162.2 kB / 430.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.08082, allocations: 171.7 kB / 430.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.08084, allocations: 33.64 kB / 430.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.08089, allocations: 132.3 kB / 430.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.08095, allocations: 110.5 kB / 430.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.08105, allocations: 70.14 kB / 431 MB, free: 7.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.08111, allocations: 338.8 kB / 431.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.08128, allocations: 140.8 kB / 431.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.08148, allocations: 257.3 kB / 431.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.08186, allocations: 428.5 kB / 432.1 MB, free: 6.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.08187, allocations: 12 kB / 432.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004862/0.08236, allocations: 456.9 kB / 432.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.08238, allocations: 8 kB / 432.6 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.0824, allocations: 4 kB / 432.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.08241, allocations: 4 kB / 432.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.08288, allocations: 152.1 kB / 432.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.08289, allocations: 8 kB / 432.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.08307, allocations: 47.59 kB / 432.8 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.08309, allocations: 12 kB / 432.8 MB, free: 5.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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 8.313e-05/0.08318, allocations: 157.6 kB / 432.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.0833, allocations: 23.8 kB / 433 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.0834, allocations: 40.3 kB / 433 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.08341, allocations: 4 kB / 433 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.08342, allocations: 0 / 433 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.08343, allocations: 15.92 kB / 433 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.08385, allocations: 305.4 kB / 433.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.08386, allocations: 0 / 433.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.08441, allocations: 123.9 kB / 433.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.08442, allocations: 3.938 kB / 433.4 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.08445, allocations: 19.98 kB / 433.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.08446, allocations: 4 kB / 433.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.08447, allocations: 0 / 433.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.08714, allocations: 2.765 MB / 436.2 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.08718, allocations: 105 kB / 436.3 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.08722, allocations: 19.92 kB / 436.4 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.08751, allocations: 11.98 kB / 436.4 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.08756, allocations: 23.92 kB / 436.4 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.08758, allocations: 11.92 kB / 436.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.024e-05/0.08765, allocations: 135.3 kB / 436.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.08765, allocations: 4 kB / 436.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.08815, allocations: 112 kB / 436.6 MB, free: 1.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (T[1,1],T[1,2],T[1,3],T[2,1],T[2,2],T[2,3],T[3,1],T[3,2],T[3,3],T[4,1],T[4,2],T[4,3],T[5,1],T[5,2],T[5,3]) * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.729e-05/0.08825, allocations: 115.2 kB / 436.8 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.08861, allocations: 324.9 kB / 437.1 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.08862, allocations: 4.125 kB / 437.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.08876, allocations: 139.7 kB / 437.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.08939, allocations: 75.95 kB / 437.3 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.09102, allocations: 1.57 MB / 438.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.09137, allocations: 0.7563 MB / 439.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000293/0.09168, allocations: 162.1 kB / 439.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.09177, allocations: 27.44 kB / 439.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.09178, allocations: 0 / 439.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of Templates: time 0.006827/0.09861, allocations: 4.291 MB / 444.1 MB, free: 9.965 MB / 314.7 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.makefile (rm -f AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.sim & ./AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.pipe 2>&1)