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.007003/0.007003, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.001565/0.001565, allocations: 197.2 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2288/0.2288, allocations: 22.37 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66.7 kB / 434.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09765, allocations: 54.96 MB / 489.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002236/0.09993, allocations: 1.657 MB / 491.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.1003, allocations: 155.5 kB / 491.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1004, allocations: 3.938 kB / 491.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.1004, allocations: 3.938 kB / 491.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.1005, allocations: 19.81 kB / 491.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1008, allocations: 47.88 kB / 491.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1009, allocations: 79.78 kB / 491.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.101, allocations: 43.97 kB / 491.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.1011, allocations: 31.8 kB / 491.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.1011, allocations: 35.78 kB / 491.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1012, allocations: 8 kB / 491.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.1012, allocations: 4 kB / 491.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.1012, allocations: 19.88 kB / 491.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.1012, allocations: 35.8 kB / 491.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.1013, allocations: 75.72 kB / 491.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1013, allocations: 4 kB / 491.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1014, allocations: 0 / 491.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1014, allocations: 4 kB / 491.7 MB, free: 1.594 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.0003887/0.1018, allocations: 383.9 kB / 492 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1018, allocations: 15.97 kB / 492 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.1018, allocations: 34.75 kB / 492.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1019, allocations: 8.844 kB / 492.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1021, allocations: 208.1 kB / 492.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1021, allocations: 384 / 492.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1022, allocations: 8.375 kB / 492.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1023, allocations: 74.23 kB / 492.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1024, allocations: 3.938 kB / 492.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1024, allocations: 4 kB / 492.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1024, allocations: 7.938 kB / 492.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.1025, allocations: 23.98 kB / 492.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1028, allocations: 344.5 kB / 492.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.1031, allocations: 62.56 kB / 492.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.1032, allocations: 20.91 kB / 492.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1032, allocations: 3.938 kB / 492.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.1032, allocations: 30.56 kB / 492.9 MB, free: 216 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.1032, allocations: 0 / 492.9 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000202/0.1034, allocations: 77.61 kB / 492.9 MB, free: 132 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.1035, allocations: 55.41 kB / 493 MB, free: 64 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1036, allocations: 144.3 kB / 493.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1036, allocations: 25.7 kB / 493.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1037, allocations: 100 kB / 493.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1037, allocations: 19.75 kB / 493.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1038, allocations: 17.72 kB / 493.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1039, allocations: 318.8 kB / 493.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.1039, allocations: 16 kB / 493.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.104, allocations: 15.98 kB / 493.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.796e-05/0.104, allocations: 32.86 kB / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1041, allocations: 0 / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001259/0.1042, allocations: 77.53 kB / 493.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1042, allocations: 8 kB / 493.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1042, allocations: 0 / 493.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1042, allocations: 4.172 kB / 493.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.1043, allocations: 12 kB / 493.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1043, allocations: 7.938 kB / 493.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.1044, allocations: 0 / 493.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1044, allocations: 4 kB / 493.8 MB, free: 15.23 MB / 366.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 7.861e-05/0.1045, allocations: 118.6 kB / 493.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1045, allocations: 7.906 kB / 493.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.1045, allocations: 12.23 kB / 493.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1045, allocations: 0 / 493.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1046, allocations: 11.88 kB / 493.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1046, allocations: 0 / 493.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1048, allocations: 193.6 kB / 494.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1048, allocations: 0 / 494.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.1048, allocations: 11.94 kB / 494.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1048, allocations: 0 / 494.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1049, allocations: 4 kB / 494.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1049, allocations: 0 / 494.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1049, allocations: 3.938 kB / 494.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1051, allocations: 187.6 kB / 494.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.1052, allocations: 81.02 kB / 494.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1052, allocations: 3.984 kB / 494.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.1052, allocations: 4 kB / 494.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1053, allocations: 3.938 kB / 494.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1053, allocations: 4 kB / 494.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.1054, allocations: 111.2 kB / 494.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1054, allocations: 0 / 494.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1056, allocations: 11.94 kB / 494.5 MB, free: 14.38 MB / 366.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 0.0004499/0.1061, allocations: 0.7124 MB / 495.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1062, allocations: 31.98 kB / 495.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1062, allocations: 0 / 495.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.1063, allocations: 15.94 kB / 495.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1066, allocations: 27.92 kB / 495.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.108, allocations: 1.508 MB / 496.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1082, allocations: 0.7001 MB / 497.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.1083, allocations: 12.11 kB / 497.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.1084, allocations: 19.44 kB / 497.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1084, allocations: 4 kB / 497.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1281, allocations: 2.107 MB / 499.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.798, allocations: 2.375 kB / 499.7 MB, free: 9.172 MB / 366.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/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)