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: "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 92 kB / 15.06 MB, free: 1.098 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.001026/0.001026, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.209/0.209, allocations: 22.34 MB / 313.4 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 12 kB / 380 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.302, allocations: 55.98 MB / 436 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.001594/0.3036, allocations: 1.345 MB / 437.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.3039, allocations: 146.4 kB / 437.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.304, allocations: 0 / 437.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.3041, allocations: 7.172 kB / 437.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.3042, allocations: 14.86 kB / 437.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3044, allocations: 36.41 kB / 437.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3045, allocations: 73.09 kB / 437.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3046, allocations: 30.25 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.3047, allocations: 16.91 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.3047, allocations: 28.53 kB / 437.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3048, allocations: 2.906 kB / 437.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.3048, allocations: 0 / 437.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.3048, allocations: 15.2 kB / 437.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.3048, allocations: 36.55 kB / 437.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.242e-05/0.3049, allocations: 55.84 kB / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3049, allocations: 3.062 kB / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3049, allocations: 0 / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3049, allocations: 0 / 437.8 MB, free: 37.06 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.0003423/0.3053, allocations: 375.5 kB / 438.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3053, allocations: 8.531 kB / 438.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.3054, allocations: 41.05 kB / 438.2 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.3054, allocations: 6.781 kB / 438.2 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3055, allocations: 203.5 kB / 438.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3056, allocations: 6.531 kB / 438.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3056, allocations: 6.938 kB / 438.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3057, allocations: 74.83 kB / 438.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3058, allocations: 0 / 438.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3058, allocations: 0 / 438.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3058, allocations: 2.812 kB / 438.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.3059, allocations: 25.11 kB / 438.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.3062, allocations: 350.8 kB / 438.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3065, allocations: 62.23 kB / 438.9 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.3066, allocations: 17.78 kB / 439 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3066, allocations: 10.81 kB / 439 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.3066, allocations: 30.56 kB / 439 MB, free: 35.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3066, allocations: 3.938 kB / 439 MB, free: 35.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002006/0.3068, allocations: 79.64 kB / 439.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.3069, allocations: 51.41 kB / 439.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.307, allocations: 143.8 kB / 439.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.307, allocations: 25.7 kB / 439.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.307, allocations: 106.3 kB / 439.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.307, allocations: 18.59 kB / 439.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.3071, allocations: 0 / 439.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.3071, allocations: 324.8 kB / 439.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.3071, allocations: 19.83 kB / 439.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.3072, allocations: 16.53 kB / 439.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.3072, allocations: 16.72 kB / 439.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3072, allocations: 0 / 439.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001101/0.3074, allocations: 80.14 kB / 439.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3074, allocations: 9.875 kB / 439.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3074, allocations: 0 / 439.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3074, allocations: 0 / 439.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.3075, allocations: 9.062 kB / 439.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3075, allocations: 0 / 439.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.3075, allocations: 14.47 kB / 439.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.3075, allocations: 0 / 439.9 MB, free: 35.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.3076, allocations: 123.6 kB / 440 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.3076, allocations: 7.125 kB / 440 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.3076, allocations: 15.16 kB / 440 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3077, allocations: 0 / 440 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3077, allocations: 0 / 440 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3077, allocations: 3.984 kB / 440 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3078, allocations: 197.7 kB / 440.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3078, allocations: 0 / 440.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.3079, allocations: 11.52 kB / 440.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3079, allocations: 0 / 440.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3079, allocations: 4 kB / 440.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3079, allocations: 2.953 kB / 440.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3079, allocations: 0 / 440.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3081, allocations: 195.2 kB / 440.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.3081, allocations: 90.81 kB / 440.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3082, allocations: 3.938 kB / 440.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.3082, allocations: 0 / 440.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.3083, allocations: 3 kB / 440.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3083, allocations: 5.906 kB / 440.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.3083, allocations: 113.8 kB / 440.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3083, allocations: 0 / 440.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3086, allocations: 12.25 kB / 440.7 MB, free: 34.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.3089, allocations: 0.7193 MB / 441.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.309, allocations: 35.2 kB / 441.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.309, allocations: 4 kB / 441.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.3091, allocations: 14.16 kB / 441.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3094, allocations: 18.14 kB / 441.5 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.3102, allocations: 0.6194 MB / 442.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3103, allocations: 0.6951 MB / 442.8 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.3103, allocations: 20.97 kB / 442.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.3104, allocations: 23.97 kB / 442.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3104, allocations: 0 / 442.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.3237, allocations: 1.834 MB / 444.7 MB, free: 32.35 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.3239, allocations: 157.5 kB / 444.8 MB, free: 32.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.963, allocations: 0 / 444.8 MB, free: 32.11 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) Environment - environmentSimulation: