Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.1204/0.1204, allocations: 21.61 MB / 36.56 MB, free: 1.062 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.0009316/0.0009316, allocations: 185.4 kB / 42.83 MB, free: 3.781 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.404/1.404, allocations: 223.2 MB / 272.1 MB, free: 1.395 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.0009484/0.0009484, allocations: 94.34 kB / 328.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 8 kB / 397.1 MB, free: 46.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09178, allocations: 55.83 MB / 452.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4333, allocations: 82.92 MB / 0.5233 GB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4335, allocations: 65.69 kB / 0.5234 GB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04489/0.4784, allocations: 19.38 MB / 0.5423 GB, free: 6.289 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4785, allocations: 3.984 kB / 0.5423 GB, free: 6.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.048e-05/0.4785, allocations: 31.03 kB / 0.5423 GB, free: 6.277 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003269/0.4818, allocations: 1.553 MB / 0.5438 GB, free: 5.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4819, allocations: 7.625 kB / 0.5438 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.4821, allocations: 159.4 kB / 0.544 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.4824, allocations: 131.4 kB / 0.5441 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.4841, allocations: 0.8911 MB / 0.545 GB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.4842, allocations: 71.12 kB / 0.5451 GB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.4844, allocations: 123 kB / 0.5452 GB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.4869, allocations: 1.595 MB / 0.5467 GB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.4869, allocations: 4 kB / 0.5467 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.4871, allocations: 48.41 kB / 0.5468 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.4871, allocations: 23.38 kB / 0.5468 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.4892, allocations: 1.263 MB / 0.548 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007696/0.4969, allocations: 6.234 MB / 0.5541 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.5012, allocations: 1.776 MB / 0.5559 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/0.5013, allocations: 24.62 kB / 0.5559 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.5014, allocations: 43.5 kB / 0.5559 GB, free: 13.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 3.917e-06/0.5014, allocations: 0 / 0.5559 GB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.009725/0.5111, allocations: 5.204 MB / 0.561 GB, free: 9.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.5112, allocations: 60.41 kB / 0.5611 GB, free: 9.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/0.512, allocations: 0.4978 MB / 0.5615 GB, free: 9.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.5122, allocations: 43.33 kB / 0.5616 GB, free: 9.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.5125, allocations: 420.5 kB / 0.562 GB, free: 8.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.5129, allocations: 396.8 kB / 0.5624 GB, free: 8.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.5129, allocations: 22.88 kB / 0.5624 GB, free: 8.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.5132, allocations: 398.4 kB / 0.5628 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.5143, allocations: 0.7327 MB / 0.5635 GB, free: 7.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.5155, allocations: 0.858 MB / 0.5643 GB, free: 6.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.5262, allocations: 3.068 MB / 0.5673 GB, free: 3.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.5262, allocations: 3.953 kB / 0.5673 GB, free: 3.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004199/0.5304, allocations: 2.183 MB / 0.5695 GB, free: 1.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.5307, allocations: 0.7873 MB / 0.5702 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5308, allocations: 4 kB / 0.5702 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.5322, allocations: 424.2 kB / 0.5706 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.534, allocations: 383.6 kB / 0.571 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.5448, allocations: 14.79 MB / 0.5854 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5462, allocations: 87.77 kB / 0.5855 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.5463, allocations: 39.98 kB / 0.5856 GB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.5463, allocations: 4 kB / 0.5856 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003947/0.5503, allocations: 2.077 MB / 0.5876 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5503, allocations: 4 kB / 0.5876 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.5517, allocations: 420.3 kB / 0.588 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.5536, allocations: 375.5 kB / 0.5884 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.5656, allocations: 14.81 MB / 0.6028 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.567, allocations: 80.02 kB / 0.6029 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.5671, allocations: 43.98 kB / 0.6029 GB, free: 12.43 MB / 426.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (140): * Single equations (assignments): 130 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009064/0.568, allocations: 462.4 kB / 0.6034 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.5682, allocations: 79.06 kB / 0.6035 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.5714, allocations: 1.813 MB / 0.6052 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.5714, allocations: 8 kB / 0.6052 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5715, allocations: 11.94 kB / 0.6052 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5715, allocations: 3.984 kB / 0.6052 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/0.5776, allocations: 3.644 MB / 0.6088 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.5777, allocations: 4 kB / 0.6088 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/0.5798, allocations: 351.7 kB / 0.6091 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.5808, allocations: 340.3 kB / 0.6095 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.5809, allocations: 59.95 kB / 0.6095 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008906/0.5899, allocations: 13.94 MB / 0.6231 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5899, allocations: 0 / 0.6231 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.5941, allocations: 2.51 MB / 0.6256 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.5944, allocations: 160.2 kB / 0.6257 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5946, allocations: 59.97 kB / 0.6258 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.5953, allocations: 71.78 kB / 0.6259 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.5956, allocations: 76.88 kB / 0.6259 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/0.5956, allocations: 27.98 kB / 0.626 GB, free: 3.277 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004811/0.5961, allocations: 402.8 kB / 0.6264 GB, free: 2.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5961, allocations: 0 / 0.6264 GB, free: 2.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001775/0.5979, allocations: 0.6445 MB / 0.627 GB, free: 2.238 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (90): * Single equations (assignments): 80 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004234/0.6022, allocations: 3.338 MB / 0.6302 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006165/0.6084, allocations: 4.89 MB / 0.635 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6084, allocations: 0 / 0.635 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.6107, allocations: 1.876 MB / 0.6369 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6118, allocations: 271.8 kB / 0.6371 GB, free: 7.406 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.6238, allocations: 8.513 MB / 0.6454 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/0.6246, allocations: 1.234 MB / 0.6466 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001515/0.6262, allocations: 0.5529 MB / 0.6472 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/0.6268, allocations: 411.3 kB / 0.6476 GB, free: 12.58 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6268, allocations: 0 / 0.6476 GB, free: 12.58 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2454/0.8722, allocations: 31.16 MB / 0.678 GB, free: 151.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.8724, allocations: 176.6 kB / 0.6782 GB, free: 151.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.762, allocations: 1.375 kB / 0.6782 GB, free: 151.5 MB / 490.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)