Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_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.0986/0.0986, allocations: 21.61 MB / 36.56 MB, free: 1.07 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.0009722/0.0009721, allocations: 190.8 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.309/1.309, allocations: 223.2 MB / 272.1 MB, free: 1.383 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.0008406/0.0008407, allocations: 105.4 kB / 328.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 12 kB / 395.1 MB, free: 48.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.0949, allocations: 55.8 MB / 450.9 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4381, allocations: 79.45 MB / 0.5179 GB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.4383, allocations: 73.52 kB / 0.518 GB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.4531, allocations: 4.881 MB / 0.5228 GB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4532, allocations: 0 / 0.5228 GB, free: 11.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.4532, allocations: 3.844 kB / 0.5228 GB, free: 11.18 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001421/0.4546, allocations: 0.6485 MB / 0.5234 GB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4547, allocations: 7.656 kB / 0.5234 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.4548, allocations: 47.89 kB / 0.5235 GB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.4549, allocations: 30.88 kB / 0.5235 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.4559, allocations: 450.1 kB / 0.5239 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4559, allocations: 9.078 kB / 0.5239 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.4559, allocations: 15.09 kB / 0.5239 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.4563, allocations: 167.6 kB / 0.5241 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4563, allocations: 4 kB / 0.5241 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4563, allocations: 7.641 kB / 0.5241 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4563, allocations: 3.844 kB / 0.5241 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.4566, allocations: 179.9 kB / 0.5243 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.4578, allocations: 0.6758 MB / 0.525 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.4582, allocations: 255 kB / 0.5252 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4582, allocations: 7.922 kB / 0.5252 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4583, allocations: 34.55 kB / 0.5252 GB, free: 9.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.4583, allocations: 3.906 kB / 0.5252 GB, free: 9.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005498/0.4588, allocations: 297.8 kB / 0.5255 GB, free: 9.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4589, allocations: 59.22 kB / 0.5256 GB, free: 9.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.4597, allocations: 404.5 kB / 0.526 GB, free: 9.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4597, allocations: 37.36 kB / 0.526 GB, free: 9.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.4598, allocations: 154.5 kB / 0.5261 GB, free: 9.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.4599, allocations: 56.47 kB / 0.5262 GB, free: 9.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.4599, allocations: 2.375 kB / 0.5262 GB, free: 9.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.4599, allocations: 341.7 kB / 0.5265 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.4601, allocations: 89.86 kB / 0.5266 GB, free: 9.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4602, allocations: 89.25 kB / 0.5267 GB, free: 9.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4604, allocations: 96.61 kB / 0.5268 GB, free: 9.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4604, allocations: 4 kB / 0.5268 GB, free: 9.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003525/0.4607, allocations: 251.7 kB / 0.527 GB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4608, allocations: 11.73 kB / 0.527 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4608, allocations: 3.875 kB / 0.5271 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4608, allocations: 0 / 0.5271 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.4611, allocations: 59.25 kB / 0.5271 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4612, allocations: 3.906 kB / 0.5271 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.4615, allocations: 66.09 kB / 0.5272 GB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.4615, allocations: 3.812 kB / 0.5272 GB, free: 8.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.0001272/0.4616, allocations: 150.5 kB / 0.5273 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.4617, allocations: 23.25 kB / 0.5273 GB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.4618, allocations: 39.64 kB / 0.5274 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4618, allocations: 0 / 0.5274 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4618, allocations: 4 kB / 0.5274 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4618, allocations: 3.984 kB / 0.5274 GB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.4622, allocations: 356.7 kB / 0.5277 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4622, allocations: 0.875 kB / 0.5277 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.4624, allocations: 27.3 kB / 0.5278 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4624, allocations: 3.844 kB / 0.5278 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4624, allocations: 3.438 kB / 0.5278 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4624, allocations: 0 / 0.5278 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4624, allocations: 3.844 kB / 0.5278 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.463, allocations: 449.4 kB / 0.5282 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.4631, allocations: 116.2 kB / 0.5283 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.4631, allocations: 3.062 kB / 0.5283 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.4635, allocations: 50.17 kB / 0.5284 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.4636, allocations: 15.67 kB / 0.5284 GB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4636, allocations: 3.125 kB / 0.5284 GB, free: 8.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006862/0.4643, allocations: 351.6 kB / 0.5287 GB, free: 8.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.4643, allocations: 0 / 0.5287 GB, free: 8.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.4646, allocations: 45.66 kB / 0.5288 GB, free: 8.086 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.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 (16): * Single equations (assignments): 16 * 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.0007424/0.4653, allocations: 0.9859 MB / 0.5297 GB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.4657, allocations: 189.2 kB / 0.5299 GB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4657, allocations: 0 / 0.5299 GB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.4658, allocations: 97.89 kB / 0.53 GB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.4662, allocations: 40.25 kB / 0.53 GB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.4703, allocations: 2.185 MB / 0.5322 GB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.4705, allocations: 0.7896 MB / 0.5329 GB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.4707, allocations: 56.09 kB / 0.533 GB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4708, allocations: 89.88 kB / 0.5331 GB, free: 5.574 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4708, allocations: 3.781 kB / 0.5331 GB, free: 5.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.4884, allocations: 5.264 MB / 0.5382 GB, free: 3.145 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.4886, allocations: 166.2 kB / 0.5384 GB, free: 2.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.312, allocations: 0 / 0.5384 GB, free: 2.902 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1)