Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",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.1039/0.1039, allocations: 21.62 MB / 36.56 MB, free: 1.113 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.001169/0.001168, allocations: 183.5 kB / 42.83 MB, free: 3.836 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.497/1.497, allocations: 223.2 MB / 272.1 MB, free: 1.766 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.0009156/0.0009154, allocations: 99.05 kB / 328.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003143, allocations: 8 kB / 395.1 MB, free: 48.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 55.82 MB / 450.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4756, allocations: 79.22 MB / 0.5177 GB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4758, allocations: 63.55 kB / 0.5178 GB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.4896, allocations: 4.512 MB / 0.5222 GB, free: 11.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4897, allocations: 4 kB / 0.5222 GB, free: 11.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.4897, allocations: 7.875 kB / 0.5222 GB, free: 11.12 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001224/0.4909, allocations: 0.6369 MB / 0.5228 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.491, allocations: 7.812 kB / 0.5228 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.161e-05/0.4911, allocations: 54.98 kB / 0.5229 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.4911, allocations: 27.19 kB / 0.5229 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.492, allocations: 407.8 kB / 0.5233 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.492, allocations: 10.78 kB / 0.5233 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.4921, allocations: 11.06 kB / 0.5233 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.4923, allocations: 139.5 kB / 0.5235 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4923, allocations: 3.906 kB / 0.5235 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4923, allocations: 7.891 kB / 0.5235 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4923, allocations: 0 / 0.5235 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.4926, allocations: 145 kB / 0.5236 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.4935, allocations: 0.578 MB / 0.5242 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.494, allocations: 208.2 kB / 0.5244 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.494, allocations: 0 / 0.5244 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4941, allocations: 30.56 kB / 0.5244 GB, free: 9.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.4941, allocations: 0.9375 kB / 0.5244 GB, free: 9.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004094/0.4945, allocations: 243.3 kB / 0.5246 GB, free: 9.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4945, allocations: 55.41 kB / 0.5247 GB, free: 9.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.4953, allocations: 407.6 kB / 0.5251 GB, free: 9.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4953, allocations: 29.39 kB / 0.5251 GB, free: 9.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.4954, allocations: 160.9 kB / 0.5252 GB, free: 9.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.4954, allocations: 49.33 kB / 0.5253 GB, free: 9.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.4954, allocations: 3.125 kB / 0.5253 GB, free: 9.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.4955, allocations: 350.7 kB / 0.5256 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.4956, allocations: 59.19 kB / 0.5257 GB, free: 9.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.4957, allocations: 83.53 kB / 0.5258 GB, free: 9.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.4958, allocations: 73.94 kB / 0.5258 GB, free: 9.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4958, allocations: 0 / 0.5258 GB, free: 9.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002543/0.4961, allocations: 207.2 kB / 0.526 GB, free: 9.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4961, allocations: 3.844 kB / 0.526 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4961, allocations: 0 / 0.526 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4961, allocations: 3.562 kB / 0.526 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.4964, allocations: 51.72 kB / 0.5261 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4964, allocations: 1.094 kB / 0.5261 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.4968, allocations: 66.66 kB / 0.5262 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4968, allocations: 7.859 kB / 0.5262 GB, free: 9.176 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0001024/0.4969, allocations: 146 kB / 0.5263 GB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.4969, allocations: 27 kB / 0.5263 GB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.497, allocations: 37.38 kB / 0.5264 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.497, allocations: 0 / 0.5264 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.497, allocations: 4 kB / 0.5264 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.497, allocations: 1.922 kB / 0.5264 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.4973, allocations: 305.8 kB / 0.5267 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4973, allocations: 192 / 0.5267 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4975, allocations: 22.94 kB / 0.5267 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4975, allocations: 7.922 kB / 0.5267 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.4975, allocations: 0 / 0.5267 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4975, allocations: 7.781 kB / 0.5267 GB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4975, allocations: 0 / 0.5267 GB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.4979, allocations: 369.9 kB / 0.5271 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.498, allocations: 111.2 kB / 0.5272 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.498, allocations: 8.344 kB / 0.5272 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4984, allocations: 46.98 kB / 0.5272 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.4984, allocations: 7.828 kB / 0.5272 GB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4984, allocations: 7.125 kB / 0.5272 GB, free: 8.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006272/0.4991, allocations: 334.7 kB / 0.5275 GB, free: 8.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.4991, allocations: 0 / 0.5275 GB, free: 8.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.4994, allocations: 50 kB / 0.5276 GB, free: 8.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.00053/0.4999, allocations: 0.9075 MB / 0.5285 GB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.5001, allocations: 145.6 kB / 0.5286 GB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5001, allocations: 4 kB / 0.5286 GB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.5002, allocations: 70.53 kB / 0.5287 GB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.5005, allocations: 37.12 kB / 0.5287 GB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.5043, allocations: 2.203 MB / 0.5309 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.5045, allocations: 0.7883 MB / 0.5316 GB, free: 5.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.5046, allocations: 49.52 kB / 0.5317 GB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.5048, allocations: 89.5 kB / 0.5318 GB, free: 5.645 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5048, allocations: 384 / 0.5318 GB, free: 5.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.5203, allocations: 4.893 MB / 0.5366 GB, free: 3.367 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.5205, allocations: 156 kB / 0.5367 GB, free: 3.129 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.428, allocations: 0 / 0.5367 GB, free: 3.129 MB / 362.7 MB (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)