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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") translateModel(AES.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") [/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.1046/0.1046, allocations: 21.44 MB / 36.39 MB, free: 1.16 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 183.5 kB / 42.62 MB, free: 3.988 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 254.1 MB, free: 15.24 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001026, allocations: 101.8 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004503, allocations: 7.469 kB / 371.2 MB, free: 60.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 52.94 MB / 424.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.2642, allocations: 78.38 MB / 0.4908 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.2645, allocations: 67.97 kB / 0.4908 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3066/0.5711, allocations: 4.47 MB / 0.4952 GB, free: 78.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5712, allocations: 5.531 kB / 0.4952 GB, free: 78.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.103e-05/0.5713, allocations: 8.219 kB / 0.4952 GB, free: 78.41 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.001772/0.5731, allocations: 0.6327 MB / 0.4958 GB, free: 77.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.5731, allocations: 8.969 kB / 0.4958 GB, free: 77.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.5733, allocations: 29.41 kB / 0.4959 GB, free: 77.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.5745, allocations: 405.9 kB / 0.4962 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.5746, allocations: 7.719 kB / 0.4962 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.5747, allocations: 24.2 kB / 0.4963 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.5751, allocations: 133.5 kB / 0.4964 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5751, allocations: 0 / 0.4964 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5751, allocations: 7.375 kB / 0.4964 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.5752, allocations: 2.5 kB / 0.4964 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.5755, allocations: 136.9 kB / 0.4965 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.5769, allocations: 0.5699 MB / 0.4971 GB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.5776, allocations: 210.2 kB / 0.4973 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.5777, allocations: 1.344 kB / 0.4973 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5777, allocations: 32.06 kB / 0.4973 GB, free: 77.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.856e-06/0.5777, allocations: 0 / 0.4973 GB, free: 77.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005996/0.5783, allocations: 240.1 kB / 0.4976 GB, free: 77.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5784, allocations: 54.16 kB / 0.4976 GB, free: 77.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5794, allocations: 403.8 kB / 0.498 GB, free: 77.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.5795, allocations: 30.89 kB / 0.498 GB, free: 77.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5796, allocations: 162.3 kB / 0.4982 GB, free: 76.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.5797, allocations: 61.39 kB / 0.4982 GB, free: 76.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.5797, allocations: 1.469 kB / 0.4982 GB, free: 76.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5798, allocations: 336.8 kB / 0.4986 GB, free: 76.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.58, allocations: 61.62 kB / 0.4986 GB, free: 76.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5801, allocations: 80.27 kB / 0.4987 GB, free: 76.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.5803, allocations: 72.38 kB / 0.4988 GB, free: 76.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5803, allocations: 0 / 0.4988 GB, free: 76.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003967/0.5807, allocations: 216.2 kB / 0.499 GB, free: 76.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5807, allocations: 5.312 kB / 0.499 GB, free: 76.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5808, allocations: 1.125 kB / 0.499 GB, free: 76.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5808, allocations: 1.094 kB / 0.499 GB, free: 76.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.5811, allocations: 49.3 kB / 0.499 GB, free: 76.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5811, allocations: 1.188 kB / 0.499 GB, free: 76.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.5815, allocations: 58.81 kB / 0.4991 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.5815, allocations: 7.922 kB / 0.4991 GB, free: 76.52 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.000137/0.5816, allocations: 149.5 kB / 0.4992 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.5817, allocations: 27.69 kB / 0.4993 GB, free: 76.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.5818, allocations: 38.16 kB / 0.4993 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5818, allocations: 1.094 kB / 0.4993 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.5818, allocations: 0.875 kB / 0.4993 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5818, allocations: 0 / 0.4993 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.5822, allocations: 303.6 kB / 0.4996 GB, free: 76.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5822, allocations: 1.25 kB / 0.4996 GB, free: 76.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.5824, allocations: 18.47 kB / 0.4996 GB, free: 76.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5824, allocations: 3.938 kB / 0.4996 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.5824, allocations: 10.45 kB / 0.4996 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5824, allocations: 3.062 kB / 0.4996 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5824, allocations: 0 / 0.4996 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.583, allocations: 365.2 kB / 0.5 GB, free: 75.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5831, allocations: 113.4 kB / 0.5001 GB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.5831, allocations: 7.859 kB / 0.5001 GB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.5835, allocations: 49.14 kB / 0.5001 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.5835, allocations: 9.172 kB / 0.5001 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.5836, allocations: 3.562 kB / 0.5001 GB, free: 75.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008399/0.5844, allocations: 336.1 kB / 0.5005 GB, free: 75.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5844, allocations: 0.9375 kB / 0.5005 GB, free: 75.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.5847, allocations: 42 kB / 0.5005 GB, free: 75.66 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.0001292/0.5849, allocations: 109.7 kB / 0.5006 GB, free: 75.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.5852, allocations: 145.1 kB / 0.5007 GB, free: 75.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5852, allocations: 0 / 0.5007 GB, free: 75.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5853, allocations: 69.72 kB / 0.5008 GB, free: 75.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.5857, allocations: 43.14 kB / 0.5009 GB, free: 75.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.5872, allocations: 0.636 MB / 0.5015 GB, free: 75.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.5875, allocations: 0.7799 MB / 0.5022 GB, free: 74.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.5877, allocations: 53.14 kB / 0.5023 GB, free: 74.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.5878, allocations: 26.14 kB / 0.5023 GB, free: 74.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.8e-07/0.5878, allocations: 0 / 0.5023 GB, free: 74.34 MB / 362.7 MB Notification: Performance of Templates: time 0.006493/0.5943, allocations: 2.186 MB / 0.5044 GB, free: 73.28 MB / 362.7 MB make -j1 -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.makefile (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 & ./AES_AES.ProcessBlocks.TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)