Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) [/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.1001/0.1001, allocations: 21.62 MB / 36.56 MB, free: 1.086 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000977/0.0009768, allocations: 183.3 kB / 42.83 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 272.1 MB, free: 1.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008702, allocations: 99.83 kB / 328.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 8 kB / 397.1 MB, free: 46.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 55.82 MB / 452.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.449, allocations: 83.21 MB / 0.5236 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.4493, allocations: 66.22 kB / 0.5236 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02613/0.4754, allocations: 11.27 MB / 0.5346 GB, free: 9.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4755, allocations: 0 / 0.5346 GB, free: 9.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.206e-05/0.4756, allocations: 15.66 kB / 0.5347 GB, free: 9.398 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002254/0.4778, allocations: 1.003 MB / 0.5356 GB, free: 8.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4779, allocations: 15.47 kB / 0.5357 GB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/0.4781, allocations: 104.1 kB / 0.5357 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.4784, allocations: 73.75 kB / 0.5358 GB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4794, allocations: 0.5527 MB / 0.5364 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.4795, allocations: 43.62 kB / 0.5364 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.4796, allocations: 68.78 kB / 0.5365 GB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4809, allocations: 0.8682 MB / 0.5373 GB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4809, allocations: 3.938 kB / 0.5373 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.481, allocations: 23.03 kB / 0.5373 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.481, allocations: 15.38 kB / 0.5374 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.482, allocations: 0.6754 MB / 0.538 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.4865, allocations: 3.589 MB / 0.5415 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.4887, allocations: 0.8917 MB / 0.5424 GB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.4888, allocations: 12.16 kB / 0.5424 GB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4888, allocations: 46.2 kB / 0.5424 GB, free: 5.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.615e-06/0.4888, allocations: 0 / 0.5424 GB, free: 5.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.002867/0.4917, allocations: 1.722 MB / 0.5441 GB, free: 4.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.4917, allocations: 59.61 kB / 0.5442 GB, free: 4.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.4921, allocations: 360.1 kB / 0.5445 GB, free: 4.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.4922, allocations: 36.33 kB / 0.5446 GB, free: 4.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4923, allocations: 291.8 kB / 0.5448 GB, free: 4.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4925, allocations: 209 kB / 0.545 GB, free: 4.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.4925, allocations: 14.31 kB / 0.5451 GB, free: 4.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.4926, allocations: 365.2 kB / 0.5454 GB, free: 3.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.4932, allocations: 387.7 kB / 0.5458 GB, free: 3.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.4938, allocations: 489.6 kB / 0.5462 GB, free: 3.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.4944, allocations: 470.1 kB / 0.5467 GB, free: 3.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4944, allocations: 0 / 0.5467 GB, free: 3.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002173/0.4965, allocations: 1.218 MB / 0.5479 GB, free: 3.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.4967, allocations: 0.8796 MB / 0.5487 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4967, allocations: 3.844 kB / 0.5487 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.4979, allocations: 284.3 kB / 0.549 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.4987, allocations: 204 kB / 0.5492 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/0.504, allocations: 8 MB / 0.557 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.5048, allocations: 79.95 kB / 0.5571 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5049, allocations: 21.81 kB / 0.5571 GB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.505, allocations: 8 kB / 0.5571 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002307/0.5073, allocations: 1.134 MB / 0.5582 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5073, allocations: 4 kB / 0.5582 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009625/0.5083, allocations: 271.4 kB / 0.5585 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.5092, allocations: 200.9 kB / 0.5587 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.5162, allocations: 8.894 MB / 0.5674 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.5171, allocations: 77.08 kB / 0.5674 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.5173, allocations: 29.86 kB / 0.5675 GB, free: 0.582 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (77): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006531/0.5179, allocations: 325.3 kB / 0.5678 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.5181, allocations: 51.38 kB / 0.5678 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.52, allocations: 0.947 MB / 0.5688 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.52, allocations: 8 kB / 0.5688 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.52, allocations: 0 / 0.5688 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.52, allocations: 8.062 kB / 0.5688 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5213, allocations: 0.8565 MB / 0.5696 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5213, allocations: 3.938 kB / 0.5696 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.5226, allocations: 206.3 kB / 0.5698 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005511/0.5232, allocations: 174.1 kB / 0.57 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.5233, allocations: 32.73 kB / 0.57 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.5282, allocations: 6.983 MB / 0.5768 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5282, allocations: 0 / 0.5768 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.5307, allocations: 1.314 MB / 0.5781 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.531, allocations: 132.5 kB / 0.5782 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.5311, allocations: 31.94 kB / 0.5783 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.5317, allocations: 39.89 kB / 0.5783 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5319, allocations: 40.38 kB / 0.5783 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.5319, allocations: 15.98 kB / 0.5784 GB, free: 6.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.5323, allocations: 287.2 kB / 0.5786 GB, free: 5.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5323, allocations: 0 / 0.5786 GB, free: 5.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001521/0.5338, allocations: 431.1 kB / 0.579 GB, free: 5.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (tube.fluidStream.w,tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002614/0.5365, allocations: 1.888 MB / 0.5809 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003895/0.5404, allocations: 2.66 MB / 0.5835 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5404, allocations: 4 kB / 0.5835 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5415, allocations: 0.9494 MB / 0.5844 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.5422, allocations: 153.3 kB / 0.5846 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.5491, allocations: 5.193 MB / 0.5896 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.5498, allocations: 0.9737 MB / 0.5906 GB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009242/0.5507, allocations: 312.2 kB / 0.5909 GB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5511, allocations: 223.4 kB / 0.5911 GB, free: 8.812 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.5511, allocations: 0 / 0.5911 GB, free: 8.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.5867, allocations: 17.86 MB / 0.6085 GB, free: 7.203 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.587, allocations: 196.4 kB / 0.6087 GB, free: 6.961 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.087, allocations: 0 / 0.6087 GB, free: 6.961 MB / 426.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)