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.0009682/0.0009681, allocations: 98.8 kB / 16.02 MB, free: 76 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.00111/0.00111, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1947/0.1947, allocations: 22.33 MB / 314.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002879, allocations: 8 kB / 381.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2354, allocations: 55.98 MB / 437.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.00128/0.2367, allocations: 1.362 MB / 438.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.2371, allocations: 153 kB / 438.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.2371, allocations: 0 / 438.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2372, allocations: 7.406 kB / 438.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.2372, allocations: 14.94 kB / 438.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.2374, allocations: 37.3 kB / 438.7 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2375, allocations: 84.88 kB / 438.8 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.2376, allocations: 39.28 kB / 438.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.2377, allocations: 13.25 kB / 438.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.2377, allocations: 30.48 kB / 438.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2377, allocations: 2.875 kB / 438.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2378, allocations: 4 kB / 438.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2378, allocations: 14.88 kB / 438.9 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.2378, allocations: 54.48 kB / 439 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.152e-05/0.2379, allocations: 52.31 kB / 439 MB, free: 37.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2379, allocations: 0 / 439 MB, free: 37.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2379, allocations: 0 / 439 MB, free: 37.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.2379, allocations: 0 / 439 MB, free: 37.07 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.0002946/0.2382, allocations: 372.7 kB / 439.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2382, allocations: 16.72 kB / 439.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.2383, allocations: 8.125 kB / 439.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2384, allocations: 216.1 kB / 439.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2384, allocations: 7.188 kB / 439.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2384, allocations: 6.156 kB / 439.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2386, allocations: 72.53 kB / 439.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2386, allocations: 192 / 439.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2386, allocations: 3.938 kB / 439.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2386, allocations: 2.625 kB / 439.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.2387, allocations: 27.53 kB / 439.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.239, allocations: 349.7 kB / 440.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.2393, allocations: 73.08 kB / 440.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.2394, allocations: 14.55 kB / 440.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.2394, allocations: 0 / 440.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.2394, allocations: 36.83 kB / 440.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.2394, allocations: 3.984 kB / 440.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001943/0.2396, allocations: 71.55 kB / 440.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.543e-05/0.2396, allocations: 55.34 kB / 440.3 MB, free: 35.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.2397, allocations: 145.9 kB / 440.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.2397, allocations: 28.52 kB / 440.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.2398, allocations: 98.2 kB / 440.6 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2398, allocations: 25.45 kB / 440.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2398, allocations: 12.41 kB / 440.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.2399, allocations: 324.8 kB / 441 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.2399, allocations: 9.531 kB / 441 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/0.2399, allocations: 22.58 kB / 441 MB, free: 35.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.24, allocations: 36.23 kB / 441 MB, free: 35.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.24, allocations: 3.281 kB / 441 MB, free: 35.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001129/0.2402, allocations: 83.62 kB / 441.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.2402, allocations: 5.281 kB / 441.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2402, allocations: 0 / 441.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2402, allocations: 0 / 441.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.2403, allocations: 16.28 kB / 441.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2403, allocations: 2.906 kB / 441.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.2403, allocations: 11.17 kB / 441.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2403, allocations: 3.031 kB / 441.1 MB, free: 35.15 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 (7): * Single equations (assignments): 7 * 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.609e-05/0.2404, allocations: 121 kB / 441.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.2404, allocations: 6.906 kB / 441.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.2404, allocations: 19.31 kB / 441.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2404, allocations: 0 / 441.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2404, allocations: 0 / 441.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2404, allocations: 7.219 kB / 441.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2406, allocations: 193.8 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2406, allocations: 0 / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.2407, allocations: 7.219 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2407, allocations: 4 kB / 441.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2407, allocations: 3.875 kB / 441.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2407, allocations: 0 / 441.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2407, allocations: 0 / 441.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.2409, allocations: 188.4 kB / 441.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.2409, allocations: 87.39 kB / 441.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2409, allocations: 6.5 kB / 441.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.241, allocations: 0 / 441.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.241, allocations: 10.69 kB / 441.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.241, allocations: 3.938 kB / 441.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.2411, allocations: 110.8 kB / 441.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2411, allocations: 0 / 441.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.2413, allocations: 12.69 kB / 441.9 MB, free: 34.43 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 (5): * Single equations (assignments): 5 * 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.002e-05/0.2414, allocations: 93.19 kB / 442 MB, free: 34.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.2415, allocations: 40.56 kB / 442 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2415, allocations: 4 kB / 442 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.2416, allocations: 14.44 kB / 442.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2419, allocations: 26 kB / 442.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.2422, allocations: 285.3 kB / 442.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.13e-05/0.2423, allocations: 0.6946 MB / 443.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.2423, allocations: 13.16 kB / 443.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2423, allocations: 3.938 kB / 443.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of Templates: time 0.001976/0.2443, allocations: 1.083 MB / 444.2 MB, free: 33.31 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)