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.001292/0.001292, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001397/0.001397, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.173/1.173, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08571/0.08571, allocations: 22.32 MB / 313.1 MB, free: 9.105 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.86 kB / 378.8 MB, free: 42.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.07066, allocations: 54.96 MB / 433.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002407/0.0731, allocations: 1.698 MB / 435.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.07341, allocations: 159.5 kB / 435.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.07348, allocations: 4 kB / 435.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.07351, allocations: 7.922 kB / 435.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.0736, allocations: 3.938 kB / 435.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.0738, allocations: 47.91 kB / 435.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.07393, allocations: 87.7 kB / 435.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.07404, allocations: 31.98 kB / 435.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.25e-05/0.07408, allocations: 23.88 kB / 435.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.07415, allocations: 47.7 kB / 435.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.07417, allocations: 7.938 kB / 435.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.07419, allocations: 8 kB / 435.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.07421, allocations: 15.94 kB / 435.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.07425, allocations: 35.8 kB / 436 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.562e-05/0.07433, allocations: 55.91 kB / 436 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.07434, allocations: 4 kB / 436 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.07435, allocations: 0 / 436 MB, free: 13.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.07436, allocations: 3.938 kB / 436 MB, free: 13.29 MB / 318.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.0003845/0.07475, allocations: 391.3 kB / 436.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.07478, allocations: 12.03 kB / 436.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.07482, allocations: 8.844 kB / 436.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.07498, allocations: 200.1 kB / 436.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.07499, allocations: 384 / 436.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.07502, allocations: 8.375 kB / 436.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.07516, allocations: 66.23 kB / 436.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.07517, allocations: 192 / 436.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.07519, allocations: 7.938 kB / 436.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.0752, allocations: 4 kB / 436.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.07527, allocations: 31.92 kB / 436.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.07566, allocations: 344.5 kB / 437.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.07593, allocations: 70.48 kB / 437.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.07598, allocations: 12.92 kB / 437.2 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.07601, allocations: 4 kB / 437.2 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.07603, allocations: 30.56 kB / 437.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.07603, allocations: 0 / 437.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.07623, allocations: 77.7 kB / 437.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.07626, allocations: 55.41 kB / 437.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.07636, allocations: 140.1 kB / 437.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.07638, allocations: 29.7 kB / 437.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.07643, allocations: 104 kB / 437.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.07645, allocations: 15.8 kB / 437.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.07649, allocations: 21.7 kB / 437.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.07658, allocations: 318.8 kB / 437.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.07663, allocations: 15.98 kB / 438 MB, free: 11.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.07667, allocations: 12 kB / 438 MB, free: 11.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.07674, allocations: 36.84 kB / 438 MB, free: 11.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.07675, allocations: 4 kB / 438 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001131/0.07687, allocations: 77.53 kB / 438.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.07689, allocations: 4 kB / 438.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.0769, allocations: 3.984 kB / 438.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.07691, allocations: 192 / 438.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.07697, allocations: 15.94 kB / 438.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.07698, allocations: 4 kB / 438.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.07702, allocations: 11.88 kB / 438.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.07703, allocations: 0 / 438.1 MB, free: 10.97 MB / 318.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 6.333e-05/0.07709, allocations: 121.8 kB / 438.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.07713, allocations: 7.906 kB / 438.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.07716, allocations: 12.25 kB / 438.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.07716, allocations: 0 / 438.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.07717, allocations: 0 / 438.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.07718, allocations: 3.938 kB / 438.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.07734, allocations: 189.6 kB / 438.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.07735, allocations: 8 kB / 438.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.07742, allocations: 4 kB / 438.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.07743, allocations: 0 / 438.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.07744, allocations: 7.984 kB / 438.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.07745, allocations: 7.938 kB / 438.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.07745, allocations: 0 / 438.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.07764, allocations: 175.4 kB / 438.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.07769, allocations: 88.98 kB / 438.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.07771, allocations: 4.062 kB / 438.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.07778, allocations: 0 / 438.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.07781, allocations: 7.938 kB / 438.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.07782, allocations: 3.984 kB / 438.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.07788, allocations: 107.3 kB / 438.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07789, allocations: 0 / 438.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.07811, allocations: 15.91 kB / 438.9 MB, free: 10.12 MB / 318.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 7.155e-05/0.07819, allocations: 91.25 kB / 439 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.07832, allocations: 43.92 kB / 439 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.07833, allocations: 0 / 439 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.07837, allocations: 11.98 kB / 439 MB, free: 9.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.07865, allocations: 21.17 kB / 439 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.07899, allocations: 257.6 kB / 439.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.07921, allocations: 0.6963 MB / 440 MB, free: 8.945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.07924, allocations: 11.44 kB / 440 MB, free: 8.934 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.07925, allocations: 0 / 440 MB, free: 8.934 MB / 318.1 MB Notification: Performance of Templates: time 0.002075/0.08133, allocations: 1.08 MB / 441.1 MB, free: 7.855 MB / 318.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)