Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",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.1055/0.1055, allocations: 21.62 MB / 36.56 MB, free: 1.098 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.001167/0.001167, allocations: 183.1 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.373/1.373, allocations: 223.2 MB / 272.1 MB, free: 1.758 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.0008992/0.0008992, allocations: 100.2 kB / 328.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 12 kB / 397.1 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 55.82 MB / 452.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.5014, allocations: 78.95 MB / 0.5194 GB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5017, allocations: 67.45 kB / 0.5195 GB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.5127, allocations: 4.119 MB / 0.5235 GB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5128, allocations: 0 / 0.5235 GB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.5128, allocations: 8.938 kB / 0.5235 GB, free: 12.48 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001098/0.514, allocations: 0.6087 MB / 0.5241 GB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.514, allocations: 7.719 kB / 0.5241 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.5141, allocations: 60.28 kB / 0.5242 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.5142, allocations: 27.31 kB / 0.5242 GB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.5147, allocations: 307.7 kB / 0.5245 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5148, allocations: 11.91 kB / 0.5245 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.5148, allocations: 34.25 kB / 0.5246 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.5154, allocations: 382.5 kB / 0.5249 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.5154, allocations: 7.984 kB / 0.5249 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5155, allocations: 11.17 kB / 0.5249 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.5155, allocations: 7.656 kB / 0.5249 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.5158, allocations: 241.9 kB / 0.5252 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.5177, allocations: 1.788 MB / 0.5269 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.5182, allocations: 437.2 kB / 0.5273 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.5182, allocations: 11.67 kB / 0.5273 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5182, allocations: 37.31 kB / 0.5274 GB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.5183, allocations: 0 / 0.5274 GB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006995/0.519, allocations: 430.6 kB / 0.5278 GB, free: 10.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.519, allocations: 162 kB / 0.5279 GB, free: 9.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.5192, allocations: 182.5 kB / 0.5281 GB, free: 9.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.5192, allocations: 30.27 kB / 0.5281 GB, free: 9.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.5193, allocations: 156.5 kB / 0.5283 GB, free: 9.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.5194, allocations: 109.8 kB / 0.5284 GB, free: 9.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.5194, allocations: 9.062 kB / 0.5284 GB, free: 9.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5196, allocations: 336.2 kB / 0.5287 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.5198, allocations: 166.5 kB / 0.5289 GB, free: 9.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.52, allocations: 276.8 kB / 0.5292 GB, free: 9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.5203, allocations: 220 kB / 0.5294 GB, free: 8.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5203, allocations: 3.844 kB / 0.5294 GB, free: 8.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000555/0.5209, allocations: 0.4945 MB / 0.5299 GB, free: 8.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5209, allocations: 8.719 kB / 0.5299 GB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5209, allocations: 7.625 kB / 0.5299 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5209, allocations: 3.688 kB / 0.5299 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.5214, allocations: 148.8 kB / 0.53 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5215, allocations: 12.16 kB / 0.53 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.5217, allocations: 46.08 kB / 0.5301 GB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.5217, allocations: 22.66 kB / 0.5301 GB, free: 8.789 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.000144/0.5219, allocations: 166.4 kB / 0.5302 GB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.522, allocations: 30.33 kB / 0.5303 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.5221, allocations: 43.98 kB / 0.5303 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5221, allocations: 3.844 kB / 0.5303 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.5221, allocations: 0 / 0.5303 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5221, allocations: 0 / 0.5303 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.5227, allocations: 408 kB / 0.5307 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5227, allocations: 4 kB / 0.5307 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.5233, allocations: 122.8 kB / 0.5308 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5234, allocations: 7.797 kB / 0.5308 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5234, allocations: 23.27 kB / 0.5309 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5234, allocations: 3.844 kB / 0.5309 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5234, allocations: 3.938 kB / 0.5309 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.524, allocations: 0.8432 MB / 0.5317 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.5241, allocations: 104.6 kB / 0.5318 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.5241, allocations: 19.55 kB / 0.5318 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.5244, allocations: 15.42 kB / 0.5318 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.5245, allocations: 31.3 kB / 0.5319 GB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5245, allocations: 7.688 kB / 0.5319 GB, free: 7.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.5246, allocations: 146.2 kB / 0.532 GB, free: 7.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5246, allocations: 0 / 0.532 GB, free: 7.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000488/0.5251, allocations: 112 kB / 0.5321 GB, free: 7.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],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 (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.0007948/0.5259, allocations: 1.674 MB / 0.5337 GB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.5263, allocations: 362.3 kB / 0.5341 GB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5263, allocations: 0 / 0.5341 GB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.5265, allocations: 139.3 kB / 0.5342 GB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.527, allocations: 88.31 kB / 0.5343 GB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.5302, allocations: 5.165 MB / 0.5394 GB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.5306, allocations: 0.792 MB / 0.5401 GB, free: 17.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.5308, allocations: 158.3 kB / 0.5403 GB, free: 17.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.531, allocations: 77.45 kB / 0.5403 GB, free: 17.31 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.531, allocations: 0 / 0.5403 GB, free: 17.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.547, allocations: 6.662 MB / 0.5469 GB, free: 14.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.5472, allocations: 161.2 kB / 0.547 GB, free: 14.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.47, allocations: 3.938 kB / 0.547 GB, free: 14.04 MB / 378.7 MB (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Liquid_TubeWall_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)