Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") [/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.09775/0.09775, allocations: 21.41 MB / 36.68 MB, free: 1.152 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.001009/0.001009, allocations: 180.5 kB / 42.86 MB, free: 3.879 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205 MB / 253.9 MB, free: 15.08 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.0007741/0.0007741, allocations: 90.31 kB / 307.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 7.375 kB / 370.4 MB, free: 60.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 52.52 MB / 422.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002329/0.1062, allocations: 1.535 MB / 424.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000725/0.1069, allocations: 0.5333 MB / 425 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.107, allocations: 0 / 425 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1073, allocations: 31.91 kB / 425 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.1074, allocations: 11.92 kB / 425 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.1075, allocations: 47.94 kB / 425.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1076, allocations: 115.7 kB / 425.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.1077, allocations: 12 kB / 425.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.1078, allocations: 55.75 kB / 425.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.1079, allocations: 51.81 kB / 425.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1079, allocations: 8 kB / 425.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.1079, allocations: 4 kB / 425.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.108, allocations: 27.91 kB / 425.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.108, allocations: 35.78 kB / 425.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.882e-05/0.1081, allocations: 75.69 kB / 425.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1081, allocations: 0 / 425.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1082, allocations: 0 / 425.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1082, allocations: 0 / 425.5 MB, free: 13.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007076/0.1089, allocations: 454.9 kB / 425.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1089, allocations: 15.97 kB / 425.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.109, allocations: 8.844 kB / 425.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1093, allocations: 228.1 kB / 426.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1093, allocations: 8.375 kB / 426.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1093, allocations: 8.375 kB / 426.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1094, allocations: 73.97 kB / 426.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1095, allocations: 0 / 426.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1095, allocations: 0 / 426.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1095, allocations: 3.938 kB / 426.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.1096, allocations: 55.95 kB / 426.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1101, allocations: 368.6 kB / 426.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1102, allocations: 78.56 kB / 426.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.1103, allocations: 32.97 kB / 426.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1103, allocations: 0 / 426.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.1103, allocations: 30.56 kB / 426.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.1103, allocations: 0 / 426.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002347/0.1105, allocations: 121.5 kB / 426.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1106, allocations: 59.41 kB / 427 MB, free: 12.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1109, allocations: 190.3 kB / 427.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1109, allocations: 33.64 kB / 427.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1109, allocations: 100 kB / 427.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1109, allocations: 31.62 kB / 427.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.111, allocations: 17.72 kB / 427.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.111, allocations: 330.8 kB / 427.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.1111, allocations: 28.23 kB / 427.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/0.1111, allocations: 31.97 kB / 427.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.1112, allocations: 72.83 kB / 427.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1112, allocations: 0 / 427.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001272/0.1114, allocations: 105.7 kB / 427.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1114, allocations: 11.94 kB / 427.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1114, allocations: 80 / 427.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1114, allocations: 0 / 427.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1116, allocations: 27.92 kB / 427.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1116, allocations: 7.984 kB / 427.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1117, allocations: 11.98 kB / 428 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1117, allocations: 0 / 428 MB, free: 11.1 MB / 298.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/0.1118, allocations: 129.8 kB / 428.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1119, allocations: 11.81 kB / 428.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.1119, allocations: 12.72 kB / 428.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1119, allocations: 0 / 428.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1119, allocations: 7.969 kB / 428.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1119, allocations: 4 kB / 428.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1121, allocations: 213.5 kB / 428.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1121, allocations: 0 / 428.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.1122, allocations: 8 kB / 428.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1122, allocations: 0 / 428.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1122, allocations: 8 kB / 428.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1122, allocations: 0 / 428.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1122, allocations: 3.938 kB / 428.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.1124, allocations: 235.3 kB / 428.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.1125, allocations: 85.05 kB / 428.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1125, allocations: 4 kB / 428.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1126, allocations: 19.91 kB / 428.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.1127, allocations: 0 / 428.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1127, allocations: 8 kB / 428.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.1129, allocations: 147.2 kB / 428.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1129, allocations: 64 / 428.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.1131, allocations: 20 kB / 428.9 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.522e-05/0.1132, allocations: 91.25 kB / 428.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1134, allocations: 75.89 kB / 429 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1134, allocations: 0 / 429 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.1134, allocations: 31.98 kB / 429 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1137, allocations: 19.94 kB / 429.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.1142, allocations: 280.9 kB / 429.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.1144, allocations: 0.7004 MB / 430 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.1144, allocations: 20.42 kB / 430.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1145, allocations: 15.44 kB / 430.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1145, allocations: 0 / 430.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of Templates: time 0.002701/0.1172, allocations: 0.9512 MB / 431 MB, free: 7.879 MB / 298.7 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)