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.001382/0.001382, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001533/0.001533, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.197/0.197, allocations: 22.36 MB / 312.4 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 378.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2918, allocations: 54.94 MB / 433.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002534/0.2943, allocations: 1.698 MB / 434.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.2947, allocations: 150.7 kB / 435 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.2948, allocations: 2.875 kB / 435 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.2948, allocations: 7.219 kB / 435 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.2949, allocations: 11.88 kB / 435 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2952, allocations: 39.08 kB / 435.1 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2953, allocations: 85.36 kB / 435.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2954, allocations: 44.7 kB / 435.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.2955, allocations: 27.8 kB / 435.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.2956, allocations: 35.92 kB / 435.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2956, allocations: 9.875 kB / 435.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.2956, allocations: 8.875 kB / 435.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.2956, allocations: 15.12 kB / 435.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.2957, allocations: 46.81 kB / 435.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2958, allocations: 70.45 kB / 435.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2958, allocations: 0 / 435.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2958, allocations: 0 / 435.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2958, allocations: 0 / 435.4 MB, free: 37.09 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.0003886/0.2962, allocations: 389.8 kB / 435.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2962, allocations: 14.56 kB / 435.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.2963, allocations: 14.28 kB / 435.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2965, allocations: 197.9 kB / 436 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2965, allocations: 7.844 kB / 436 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2965, allocations: 4.312 kB / 436 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.2967, allocations: 72.53 kB / 436.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.2967, allocations: 192 / 436.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2967, allocations: 3.938 kB / 436.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2967, allocations: 2.938 kB / 436.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.2968, allocations: 28.34 kB / 436.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.2972, allocations: 351.2 kB / 436.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.2975, allocations: 65.64 kB / 436.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.2976, allocations: 14.23 kB / 436.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2976, allocations: 2.594 kB / 436.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2976, allocations: 34.5 kB / 436.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2976, allocations: 0 / 436.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002126/0.2978, allocations: 72.67 kB / 436.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2979, allocations: 51.41 kB / 436.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.298, allocations: 152.3 kB / 436.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.298, allocations: 29.64 kB / 436.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.298, allocations: 98.11 kB / 437 MB, free: 35.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.298, allocations: 18.69 kB / 437 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2981, allocations: 18.89 kB / 437 MB, free: 35.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.2981, allocations: 318.1 kB / 437.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.2982, allocations: 12.94 kB / 437.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.2982, allocations: 17.06 kB / 437.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.2983, allocations: 42.42 kB / 437.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2983, allocations: 0 / 437.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001087/0.2984, allocations: 70.78 kB / 437.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2984, allocations: 8.031 kB / 437.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2985, allocations: 7.844 kB / 437.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2985, allocations: 192 / 437.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.2985, allocations: 5.594 kB / 437.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2985, allocations: 2.25 kB / 437.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.2986, allocations: 3.938 kB / 437.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2986, allocations: 10.67 kB / 437.5 MB, free: 35.18 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 6.448e-05/0.2987, allocations: 127.6 kB / 437.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.2987, allocations: 8.875 kB / 437.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.2987, allocations: 11.12 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2987, allocations: 0 / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2987, allocations: 192 / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2988, allocations: 3.938 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.2989, allocations: 196 kB / 437.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2989, allocations: 0 / 437.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.299, allocations: 5.5 kB / 437.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.299, allocations: 4 kB / 437.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.299, allocations: 6.219 kB / 437.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.299, allocations: 0 / 437.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.299, allocations: 0 / 437.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2992, allocations: 178.7 kB / 438 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.2992, allocations: 83.61 kB / 438.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2993, allocations: 2.469 kB / 438.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.2993, allocations: 11.39 kB / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.2994, allocations: 6.406 kB / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.2994, allocations: 2.344 kB / 438.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.043e-05/0.2994, allocations: 110.9 kB / 438.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2994, allocations: 0 / 438.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.2997, allocations: 20.88 kB / 438.3 MB, free: 34.46 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 7.057e-05/0.2998, allocations: 94.41 kB / 438.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2999, allocations: 28.86 kB / 438.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2999, allocations: 4 kB / 438.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.2999, allocations: 21.86 kB / 438.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3003, allocations: 17.77 kB / 438.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.3006, allocations: 234.3 kB / 438.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.3008, allocations: 0.696 MB / 439.3 MB, free: 33.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.3008, allocations: 2.906 kB / 439.3 MB, free: 33.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.3008, allocations: 20.59 kB / 439.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3008, allocations: 0 / 439.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of Templates: time 0.002774/0.3036, allocations: 0.7689 MB / 440.1 MB, free: 33.36 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)