Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.1054/0.1054, allocations: 21.61 MB / 36.56 MB, free: 1.066 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.001275/0.001275, allocations: 178.4 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.487/1.487, allocations: 223.2 MB / 272.1 MB, free: 1.414 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.001012/0.001012, allocations: 100.2 kB / 328.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 8 kB / 397.1 MB, free: 46.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.0902, allocations: 55.82 MB / 452.9 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4287, allocations: 77.85 MB / 0.5183 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.429, allocations: 67.3 kB / 0.5184 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001277/0.4303, allocations: 0.5122 MB / 0.5189 GB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4303, allocations: 0 / 0.5189 GB, free: 13.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4303, allocations: 0 / 0.5189 GB, free: 13.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002986/0.4306, allocations: 342.1 kB / 0.5192 GB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4307, allocations: 7.844 kB / 0.5192 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.4307, allocations: 34.5 kB / 0.5193 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.4307, allocations: 8.875 kB / 0.5193 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4308, allocations: 166.3 kB / 0.5194 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.4309, allocations: 3.969 kB / 0.5194 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.4309, allocations: 0 / 0.5194 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.078e-05/0.431, allocations: 40.77 kB / 0.5195 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.431, allocations: 1.688 kB / 0.5195 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.431, allocations: 3.953 kB / 0.5195 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.431, allocations: 1.922 kB / 0.5195 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.4311, allocations: 14.92 kB / 0.5195 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.4313, allocations: 258.6 kB / 0.5198 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.4314, allocations: 32.64 kB / 0.5198 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4315, allocations: 0 / 0.5198 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.4315, allocations: 41.7 kB / 0.5198 GB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.4315, allocations: 0 / 0.5198 GB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001575/0.4317, allocations: 62.66 kB / 0.5199 GB, free: 12.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4317, allocations: 51.41 kB / 0.5199 GB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.4318, allocations: 91.8 kB / 0.52 GB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.4318, allocations: 25.7 kB / 0.52 GB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.4318, allocations: 83.83 kB / 0.5201 GB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.4318, allocations: 18.31 kB / 0.5201 GB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.4318, allocations: 0 / 0.5201 GB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.4319, allocations: 314.3 kB / 0.5204 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4319, allocations: 7.844 kB / 0.5205 GB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.4319, allocations: 10.7 kB / 0.5205 GB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.432, allocations: 3.812 kB / 0.5205 GB, free: 11.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.432, allocations: 0 / 0.5205 GB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.669e-05/0.432, allocations: 50.78 kB / 0.5205 GB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4321, allocations: 4.531 kB / 0.5205 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4321, allocations: 5.719 kB / 0.5205 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4321, allocations: 7.797 kB / 0.5205 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.4322, allocations: 3.844 kB / 0.5205 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4322, allocations: 0 / 0.5205 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.4322, allocations: 0 / 0.5205 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4322, allocations: 4 kB / 0.5205 GB, free: 11.46 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 (3): * Single equations (assignments): 3 * 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 4.824e-05/0.4323, allocations: 116.7 kB / 0.5207 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.4323, allocations: 0 / 0.5207 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.4324, allocations: 80.05 kB / 0.5207 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4325, allocations: 3.953 kB / 0.5207 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4325, allocations: 6.953 kB / 0.5207 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4325, allocations: 0 / 0.5207 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.4326, allocations: 159.2 kB / 0.5209 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4326, allocations: 0 / 0.5209 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.4327, allocations: 7.719 kB / 0.5209 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4327, allocations: 2.062 kB / 0.5209 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4327, allocations: 5.938 kB / 0.5209 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4327, allocations: 0 / 0.5209 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4327, allocations: 6.578 kB / 0.5209 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.235e-05/0.4328, allocations: 151.9 kB / 0.5211 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.4328, allocations: 87.88 kB / 0.5211 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.4329, allocations: 0 / 0.5211 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.4329, allocations: 0 / 0.5211 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.4329, allocations: 7.125 kB / 0.5211 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.433, allocations: 7.797 kB / 0.5212 GB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.433, allocations: 82.5 kB / 0.5212 GB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.433, allocations: 0 / 0.5212 GB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.4332, allocations: 3.875 kB / 0.5212 GB, free: 10.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0002506/0.4335, allocations: 0.6788 MB / 0.5219 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.4335, allocations: 21.8 kB / 0.5219 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4336, allocations: 3.938 kB / 0.5219 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.4336, allocations: 17.78 kB / 0.5219 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.4338, allocations: 3.031 kB / 0.5219 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.4343, allocations: 372.3 kB / 0.5223 GB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4344, allocations: 0.6816 MB / 0.523 GB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.4345, allocations: 7.906 kB / 0.523 GB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.4345, allocations: 14.91 kB / 0.523 GB, free: 9.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4345, allocations: 0 / 0.523 GB, free: 9.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.4465, allocations: 1.051 MB / 0.524 GB, free: 8.934 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001206/0.4466, allocations: 149.6 kB / 0.5242 GB, free: 8.688 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.408/1.855, allocations: 0 / 0.5242 GB, free: 8.688 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)