Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005303/0.005303, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 201.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2159/0.2159, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.94 kB / 434.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 54.96 MB / 489.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.00212/0.1041, allocations: 1.659 MB / 491.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000306/0.1044, allocations: 151.5 kB / 491.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.1045, allocations: 4 kB / 491.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.1045, allocations: 7.875 kB / 491.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.1046, allocations: 23.78 kB / 491.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1049, allocations: 39.97 kB / 491.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.105, allocations: 95.69 kB / 491.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1051, allocations: 35.92 kB / 491.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.1052, allocations: 23.88 kB / 491.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.1052, allocations: 43.72 kB / 492 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1052, allocations: 4 kB / 492 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.1053, allocations: 8 kB / 492 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.1053, allocations: 19.92 kB / 492 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.1053, allocations: 35.8 kB / 492 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.1054, allocations: 83.59 kB / 492.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1054, allocations: 0 / 492.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1054, allocations: 0 / 492.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1054, allocations: 0 / 492.1 MB, free: 1.129 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003603/0.1058, allocations: 387.1 kB / 492.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.1058, allocations: 8.031 kB / 492.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.1059, allocations: 12.84 kB / 492.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.106, allocations: 209.9 kB / 492.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1061, allocations: 384 / 492.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1061, allocations: 8.375 kB / 492.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1062, allocations: 66.23 kB / 492.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1062, allocations: 192 / 492.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1063, allocations: 3.938 kB / 492.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1063, allocations: 7.938 kB / 492.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.1063, allocations: 23.98 kB / 492.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1067, allocations: 352.5 kB / 493.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.107, allocations: 54.56 kB / 493.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.1071, allocations: 24.84 kB / 493.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1071, allocations: 0 / 493.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1071, allocations: 42.5 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1071, allocations: 4 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002089/0.1073, allocations: 61.64 kB / 493.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1074, allocations: 59.39 kB / 493.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1075, allocations: 144.4 kB / 493.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1076, allocations: 25.7 kB / 493.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.1076, allocations: 104 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1076, allocations: 19.89 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1077, allocations: 21.72 kB / 493.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.1078, allocations: 318.8 kB / 494 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.1079, allocations: 15.94 kB / 494.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.1079, allocations: 15.98 kB / 494.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.108, allocations: 36.98 kB / 494.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.108, allocations: 0 / 494.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001217/0.1081, allocations: 69.64 kB / 494.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1081, allocations: 8 kB / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1082, allocations: 4 kB / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1082, allocations: 192 / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.1082, allocations: 15.92 kB / 494.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1082, allocations: 0 / 494.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.1083, allocations: 15.89 kB / 494.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1083, allocations: 3.984 kB / 494.2 MB, free: 14.8 MB / 366.1 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 (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 prepare postOptimizeDAE: time 7.206e-05/0.1084, allocations: 118.6 kB / 494.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1084, allocations: 7.953 kB / 494.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.1084, allocations: 12.23 kB / 494.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1084, allocations: 8 kB / 494.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1085, allocations: 0 / 494.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1085, allocations: 3.938 kB / 494.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1087, allocations: 189.6 kB / 494.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1087, allocations: 0 / 494.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.1087, allocations: 8 kB / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1087, allocations: 0 / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1088, allocations: 0 / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1088, allocations: 0 / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1088, allocations: 0 / 494.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.109, allocations: 187.4 kB / 494.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.109, allocations: 96.88 kB / 494.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1091, allocations: 0 / 494.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.1091, allocations: 8.078 kB / 494.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1092, allocations: 7.938 kB / 494.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1092, allocations: 4 kB / 494.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.1093, allocations: 111.2 kB / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1093, allocations: 0 / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1095, allocations: 12.06 kB / 495 MB, free: 13.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.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 (4): * Single equations (assignments): 4 * 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 8.689e-05/0.1096, allocations: 95.25 kB / 495.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1097, allocations: 32.05 kB / 495.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1097, allocations: 0 / 495.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.1098, allocations: 16 kB / 495.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1101, allocations: 15.98 kB / 495.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.1105, allocations: 223.3 kB / 495.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1108, allocations: 0.6962 MB / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.1108, allocations: 7.984 kB / 496.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.1109, allocations: 11.44 kB / 496.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1109, allocations: 0 / 496.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.002748/0.1136, allocations: 0.7698 MB / 496.8 MB, free: 12.02 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_FOPDT.makefile (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & ./AES_AES.Devel_test_models.Test_FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)