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.09117/0.09117, allocations: 21.61 MB / 37.4 MB, free: 0.75 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.001218/0.001218, allocations: 188.5 kB / 43.63 MB, free: 3.562 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.282/1.282, allocations: 205.1 MB / 254.8 MB, free: 14.25 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.000916/0.0009159, allocations: 96.39 kB / 307.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009716/0.0009717, allocations: 56.02 kB / 370.3 MB, free: 60.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08257, allocations: 51.98 MB / 422.2 MB, free: 16.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002244/0.08486, allocations: 1.529 MB / 423.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.08557, allocations: 0.5351 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.08564, allocations: 4 kB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.08588, allocations: 15.92 kB / 424.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.08598, allocations: 19.92 kB / 424.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.08614, allocations: 47.94 kB / 424.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.08626, allocations: 115.7 kB / 424.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.08635, allocations: 12 kB / 424.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.08642, allocations: 51.75 kB / 424.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.08653, allocations: 59.81 kB / 424.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.08655, allocations: 4 kB / 424.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.08657, allocations: 4 kB / 424.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.08664, allocations: 35.83 kB / 424.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.08668, allocations: 31.8 kB / 424.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.395e-05/0.08677, allocations: 79.69 kB / 424.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.08678, allocations: 0 / 424.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08679, allocations: 0 / 424.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.08679, allocations: 0 / 424.8 MB, free: 14.04 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.0007445/0.08754, allocations: 458.9 kB / 425.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.08758, allocations: 8.031 kB / 425.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.08762, allocations: 8.844 kB / 425.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.08796, allocations: 232.1 kB / 425.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.08798, allocations: 12.38 kB / 425.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.088, allocations: 4.375 kB / 425.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.08811, allocations: 73.92 kB / 425.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.08813, allocations: 0 / 425.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.08815, allocations: 4 kB / 425.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.08816, allocations: 4 kB / 425.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.08824, allocations: 47.95 kB / 425.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.08875, allocations: 368.6 kB / 426 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.08889, allocations: 78.56 kB / 426 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.08894, allocations: 32.97 kB / 426.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.08897, allocations: 0 / 426.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.08899, allocations: 30.56 kB / 426.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.089, allocations: 0 / 426.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002416/0.08924, allocations: 125.5 kB / 426.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.08928, allocations: 59.34 kB / 426.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.08961, allocations: 194.3 kB / 426.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.08963, allocations: 25.7 kB / 426.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.08969, allocations: 104 kB / 426.6 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.08971, allocations: 23.66 kB / 426.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.08975, allocations: 17.72 kB / 426.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.08982, allocations: 330.8 kB / 427 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.08987, allocations: 31.97 kB / 427 MB, free: 11.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.08991, allocations: 27.98 kB / 427 MB, free: 11.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.09, allocations: 72.98 kB / 427.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.09001, allocations: 0 / 427.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.09014, allocations: 121.4 kB / 427.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.09016, allocations: 7.938 kB / 427.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.09017, allocations: 0 / 427.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.09018, allocations: 0 / 427.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.09038, allocations: 27.98 kB / 427.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.0904, allocations: 0 / 427.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.09052, allocations: 11.98 kB / 427.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.09054, allocations: 7.984 kB / 427.3 MB, free: 11.31 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.433e-05/0.09061, allocations: 121.8 kB / 427.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.09064, allocations: 11.81 kB / 427.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.09069, allocations: 16.7 kB / 427.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.09069, allocations: 0 / 427.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.0907, allocations: 4 kB / 427.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.09071, allocations: 4 kB / 427.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.09087, allocations: 209.7 kB / 427.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.09088, allocations: 4 kB / 427.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.09097, allocations: 19.94 kB / 427.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.09098, allocations: 0 / 427.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.09099, allocations: 3.984 kB / 427.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.091, allocations: 0 / 427.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.091, allocations: 0 / 427.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.09182, allocations: 1.215 MB / 428.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.09186, allocations: 89.03 kB / 429 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.09188, allocations: 0 / 429 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.09203, allocations: 16.11 kB / 429 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.09207, allocations: 11.98 kB / 429 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.09208, allocations: 7.938 kB / 429 MB, free: 9.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.0923, allocations: 147.2 kB / 429.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09231, allocations: 0 / 429.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.09259, allocations: 20 kB / 429.2 MB, free: 9.215 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 6.333e-05/0.09266, allocations: 95.25 kB / 429.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.09279, allocations: 67.91 kB / 429.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0928, allocations: 0 / 429.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.09285, allocations: 35.97 kB / 429.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.09311, allocations: 15.94 kB / 429.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.09356, allocations: 395.7 kB / 429.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.0937, allocations: 0.7121 MB / 430.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.09376, allocations: 20.61 kB / 430.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.0938, allocations: 15.42 kB / 430.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09381, allocations: 7.938 kB / 430.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of Templates: time 0.002732/0.09655, allocations: 1.108 MB / 431.6 MB, free: 6.684 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)