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.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2144/0.2144, allocations: 22.35 MB / 312.7 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 60.12 kB / 378.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3407, allocations: 54.95 MB / 433.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002679/0.3434, allocations: 1.647 MB / 435.3 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.3438, allocations: 156.3 kB / 435.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.3439, allocations: 2.875 kB / 435.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.3439, allocations: 7.875 kB / 435.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.575e-05/0.3441, allocations: 19.08 kB / 435.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3443, allocations: 49.34 kB / 435.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3445, allocations: 87.12 kB / 435.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3446, allocations: 35.02 kB / 435.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.3446, allocations: 34.3 kB / 435.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.3447, allocations: 31.72 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3447, allocations: 7.969 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.3448, allocations: 8.188 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.3448, allocations: 15.36 kB / 435.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.3448, allocations: 40.39 kB / 435.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.3449, allocations: 77.7 kB / 435.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3449, allocations: 0 / 435.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3449, allocations: 0 / 435.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3449, allocations: 0 / 435.9 MB, free: 37.19 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.0004169/0.3454, allocations: 388.6 kB / 436.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3454, allocations: 10.88 kB / 436.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3455, allocations: 11.62 kB / 436.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3456, allocations: 202.8 kB / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3457, allocations: 11.25 kB / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3457, allocations: 5.688 kB / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3458, allocations: 70.53 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3459, allocations: 192 / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3459, allocations: 3.938 kB / 436.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3459, allocations: 2.625 kB / 436.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.346, allocations: 25.19 kB / 436.6 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3464, allocations: 352 kB / 436.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3467, allocations: 58.62 kB / 437 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.3468, allocations: 14.52 kB / 437 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3468, allocations: 0 / 437 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3468, allocations: 40.91 kB / 437 MB, free: 36.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.3468, allocations: 0 / 437 MB, free: 36.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.347, allocations: 70.27 kB / 437.1 MB, free: 36.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.3471, allocations: 54.12 kB / 437.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.3472, allocations: 147.2 kB / 437.3 MB, free: 35.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3472, allocations: 29.7 kB / 437.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.3472, allocations: 104.6 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3473, allocations: 15.75 kB / 437.4 MB, free: 35.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.3473, allocations: 22.33 kB / 437.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.3474, allocations: 320.7 kB / 437.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.3474, allocations: 9.812 kB / 437.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.3475, allocations: 22.44 kB / 437.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.3475, allocations: 33.05 kB / 437.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3475, allocations: 0 / 437.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000109/0.3477, allocations: 73.05 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3477, allocations: 6.812 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3477, allocations: 2.719 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3477, allocations: 0 / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.3478, allocations: 12.19 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3478, allocations: 0 / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.3478, allocations: 3.938 kB / 437.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3478, allocations: 6.719 kB / 437.9 MB, free: 35.29 MB / 350.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 5.765e-05/0.3479, allocations: 123.9 kB / 438.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3479, allocations: 6.656 kB / 438.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.348, allocations: 23.08 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.348, allocations: 3.984 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.348, allocations: 0 / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.348, allocations: 3.938 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3481, allocations: 193 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3481, allocations: 3.188 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.3482, allocations: 6.344 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3482, allocations: 0 / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3482, allocations: 0 / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3482, allocations: 3.062 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3482, allocations: 4 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3484, allocations: 180.7 kB / 438.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.3485, allocations: 84.86 kB / 438.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3485, allocations: 0 / 438.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.3485, allocations: 0 / 438.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3486, allocations: 13.69 kB / 438.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3486, allocations: 6.594 kB / 438.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.3487, allocations: 111.5 kB / 438.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3487, allocations: 0 / 438.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.3489, allocations: 18.84 kB / 438.7 MB, free: 34.57 MB / 350.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.369e-05/0.349, allocations: 94.53 kB / 438.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3491, allocations: 36.45 kB / 438.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3491, allocations: 0 / 438.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.3492, allocations: 17.06 kB / 438.9 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3496, allocations: 20.83 kB / 438.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.3499, allocations: 206.1 kB / 439.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.3501, allocations: 0.6982 MB / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.3501, allocations: 8.781 kB / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.3502, allocations: 10.06 kB / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3502, allocations: 0 / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of Templates: time 0.00287/0.353, allocations: 0.7758 MB / 440.6 MB, free: 33.5 MB / 350.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)