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 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.ProcessComponents.Thermal.Liquid.LumpedPlanarWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_LumpedPlanarWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_LumpedPlanarWall",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.1101/0.1101, allocations: 21.61 MB / 36.56 MB, free: 1.078 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.001255/0.001255, allocations: 190.5 kB / 42.83 MB, free: 3.785 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.539/1.539, allocations: 223.2 MB / 272.1 MB, free: 1.398 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.001067/0.001066, allocations: 92.25 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 12 kB / 397.1 MB, free: 46.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 55.81 MB / 452.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4725, allocations: 78.32 MB / 0.5188 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4728, allocations: 65.91 kB / 0.5189 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008538/0.4813, allocations: 3.012 MB / 0.5218 GB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4814, allocations: 3.844 kB / 0.5218 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4814, allocations: 0 / 0.5218 GB, free: 12.68 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0008039/0.4822, allocations: 0.5327 MB / 0.5223 GB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4823, allocations: 11.66 kB / 0.5223 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.4823, allocations: 48.36 kB / 0.5224 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.4824, allocations: 19.34 kB / 0.5224 GB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.4829, allocations: 242.9 kB / 0.5226 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.483, allocations: 10.78 kB / 0.5227 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.483, allocations: 19.06 kB / 0.5227 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.4834, allocations: 272.6 kB / 0.5229 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4834, allocations: 1.188 kB / 0.5229 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.4835, allocations: 11.08 kB / 0.5229 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4835, allocations: 3.844 kB / 0.5229 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.4837, allocations: 166.9 kB / 0.5231 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.485, allocations: 1.008 MB / 0.5241 GB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.4855, allocations: 401.1 kB / 0.5245 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.4856, allocations: 3.969 kB / 0.5245 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4856, allocations: 46.55 kB / 0.5245 GB, free: 11.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.4856, allocations: 4 kB / 0.5245 GB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006416/0.4863, allocations: 387.6 kB / 0.5249 GB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4863, allocations: 158.1 kB / 0.525 GB, free: 10.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4864, allocations: 155.9 kB / 0.5252 GB, free: 10.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4865, allocations: 28.89 kB / 0.5252 GB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.4865, allocations: 124.3 kB / 0.5253 GB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.4866, allocations: 111.6 kB / 0.5254 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.4866, allocations: 6 kB / 0.5255 GB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.4867, allocations: 345.5 kB / 0.5258 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.4869, allocations: 141.4 kB / 0.5259 GB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.4871, allocations: 255.3 kB / 0.5262 GB, free: 10.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.4874, allocations: 195.4 kB / 0.5263 GB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4875, allocations: 4 kB / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005225/0.488, allocations: 456 kB / 0.5268 GB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.488, allocations: 7.688 kB / 0.5268 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.488, allocations: 3.844 kB / 0.5268 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.488, allocations: 3.844 kB / 0.5268 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.4886, allocations: 143.9 kB / 0.5269 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4886, allocations: 15.34 kB / 0.527 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.4888, allocations: 44.45 kB / 0.527 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4888, allocations: 15.97 kB / 0.527 GB, free: 10.05 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4889, allocations: 155.1 kB / 0.5272 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.489, allocations: 17.56 kB / 0.5272 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.4891, allocations: 38.69 kB / 0.5272 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4891, allocations: 3.781 kB / 0.5272 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4892, allocations: 3.938 kB / 0.5272 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4892, allocations: 6.953 kB / 0.5272 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.4898, allocations: 324.6 kB / 0.5275 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4898, allocations: 0 / 0.5275 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.4904, allocations: 121.8 kB / 0.5277 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4904, allocations: 3.875 kB / 0.5277 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.4905, allocations: 14.17 kB / 0.5277 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4905, allocations: 7.906 kB / 0.5277 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4905, allocations: 0 / 0.5277 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.4911, allocations: 0.8128 MB / 0.5285 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.4912, allocations: 96.17 kB / 0.5286 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.4912, allocations: 22.56 kB / 0.5286 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.4916, allocations: 22.03 kB / 0.5286 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.4916, allocations: 18.58 kB / 0.5286 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4916, allocations: 10.77 kB / 0.5286 GB, free: 9.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.4917, allocations: 121.3 kB / 0.5287 GB, free: 8.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4917, allocations: 0 / 0.5287 GB, free: 8.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004609/0.4922, allocations: 83.5 kB / 0.5288 GB, free: 8.992 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007102/0.4929, allocations: 1.644 MB / 0.5304 GB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.4934, allocations: 330.1 kB / 0.5307 GB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4934, allocations: 0 / 0.5307 GB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.4935, allocations: 128.9 kB / 0.5309 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.494, allocations: 88.22 kB / 0.531 GB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.4973, allocations: 4.836 MB / 0.5357 GB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4976, allocations: 0.7662 MB / 0.5364 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.4979, allocations: 150.5 kB / 0.5366 GB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.498, allocations: 59.61 kB / 0.5366 GB, free: 3 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.498, allocations: 0 / 0.5366 GB, free: 3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.5156, allocations: 5.809 MB / 0.5423 GB, free: 364 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.5158, allocations: 166.5 kB / 0.5425 GB, free: 124 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.3, allocations: 0 / 0.5425 GB, free: 124 kB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Liquid_LumpedPlanarWall_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Liquid_LumpedPlanarWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.LumpedPlanarWall.pipe 2>&1)