Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.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.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") translateModel(AES.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") [/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.09103/0.09103, allocations: 21.6 MB / 37.4 MB, free: 0.7461 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.001016/0.001016, allocations: 188.5 kB / 43.63 MB, free: 3.57 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.264/1.264, allocations: 205.1 MB / 254.8 MB, free: 14.26 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.0009742/0.0009742, allocations: 100 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009855/0.0009856, allocations: 53.88 kB / 370.3 MB, free: 60.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08648, allocations: 51.97 MB / 422.2 MB, free: 16.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002311/0.08883, allocations: 1.502 MB / 423.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.08914, allocations: 115.7 kB / 423.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.0892, allocations: 0 / 423.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.08923, allocations: 3.938 kB / 423.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.0893, allocations: 7.922 kB / 423.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.0895, allocations: 23.92 kB / 423.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.08959, allocations: 35.86 kB / 423.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.08968, allocations: 23.91 kB / 423.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.08971, allocations: 11.88 kB / 423.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.08975, allocations: 15.92 kB / 424 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.08977, allocations: 0 / 424 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-06/0.08978, allocations: 0 / 424 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.0898, allocations: 8 kB / 424 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.08983, allocations: 11.88 kB / 424 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.151e-05/0.08989, allocations: 23.89 kB / 424 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.0899, allocations: 8 kB / 424 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08991, allocations: 0 / 424 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.08992, allocations: 3.938 kB / 424 MB, free: 14.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000323/0.09024, allocations: 351.7 kB / 424.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.09028, allocations: 8.031 kB / 424.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.09031, allocations: 4.938 kB / 424.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.09044, allocations: 176.2 kB / 424.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.09046, allocations: 4.375 kB / 424.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.09048, allocations: 4.375 kB / 424.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.09057, allocations: 42.27 kB / 424.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.09058, allocations: 4.125 kB / 424.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.09059, allocations: 3.938 kB / 424.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.0906, allocations: 0 / 424.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.09063, allocations: 11.98 kB / 424.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.09091, allocations: 272.8 kB / 424.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.518e-05/0.09096, allocations: 22.64 kB / 424.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.09098, allocations: 8.859 kB / 424.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.09101, allocations: 3.984 kB / 424.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.09103, allocations: 38.56 kB / 425 MB, free: 13.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.09103, allocations: 0 / 425 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.09116, allocations: 37.64 kB / 425 MB, free: 13.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.09119, allocations: 55.41 kB / 425 MB, free: 13.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.09127, allocations: 122 kB / 425.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.09128, allocations: 25.7 kB / 425.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.09132, allocations: 95.98 kB / 425.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.09133, allocations: 7.906 kB / 425.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.09136, allocations: 13.72 kB / 425.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.09141, allocations: 322.8 kB / 425.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.09143, allocations: 4 kB / 425.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.09145, allocations: 0 / 425.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.09148, allocations: 24.94 kB / 425.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.09149, allocations: 4 kB / 425.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.269e-05/0.09155, allocations: 53.53 kB / 425.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.09156, allocations: 8 kB / 425.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.09157, allocations: 0 / 425.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.09159, allocations: 0 / 425.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.09164, allocations: 4 kB / 425.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.09165, allocations: 3.938 kB / 425.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.09167, allocations: 0 / 425.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.09168, allocations: 3.984 kB / 425.7 MB, free: 12.85 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 (3): * Single equations (assignments): 3 * 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 4.376e-05/0.09173, allocations: 117.8 kB / 425.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.09176, allocations: 0 / 425.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.09178, allocations: 15.86 kB / 425.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.09179, allocations: 0 / 425.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.0918, allocations: 0 / 425.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.0918, allocations: 0 / 425.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.09192, allocations: 173.5 kB / 426 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.09193, allocations: 0 / 426 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.09197, allocations: 8 kB / 426 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.09198, allocations: 0 / 426 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.09199, allocations: 3.938 kB / 426 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.092, allocations: 4 kB / 426 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.092, allocations: 0 / 426 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.09248, allocations: 0.8947 MB / 426.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.09251, allocations: 81.05 kB / 427 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.09252, allocations: 0 / 427 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.09258, allocations: 0 / 427 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.09261, allocations: 11.92 kB / 427 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.09262, allocations: 0 / 427 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.09265, allocations: 91.27 kB / 427.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09265, allocations: 0 / 427.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.09291, allocations: 8 kB / 427.1 MB, free: 11.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * 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 (2): * Single equations (assignments): 2 * 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.217e-05/0.09298, allocations: 95.31 kB / 427.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.912e-05/0.09304, allocations: 12 kB / 427.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.09305, allocations: 0 / 427.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.09307, allocations: 4 kB / 427.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.09335, allocations: 15.92 kB / 427.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.09363, allocations: 275.2 kB / 427.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.09374, allocations: 0.6811 MB / 428.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.608e-05/0.09377, allocations: 0 / 428.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.09379, allocations: 11.44 kB / 428.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.09379, allocations: 0 / 428.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of Templates: time 0.001913/0.09571, allocations: 482.2 kB / 428.7 MB, free: 9.605 MB / 298.7 MB make -j1 -f AES_AES.ProcessBlocks.FOPDT.makefile (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & ./AES_AES.ProcessBlocks.FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)