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.001535/0.001535, allocations: 109.4 kB / 15.69 MB, free: 128 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.001797/0.001797, allocations: 185.6 kB / 16.62 MB, free: 6.613 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.375/1.375, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2286/0.2286, allocations: 22.37 MB / 312.8 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.89 kB / 379 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 54.95 MB / 433.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002767/0.3123, allocations: 1.643 MB / 435.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.3127, allocations: 154.5 kB / 435.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.3127, allocations: 2.5 kB / 435.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.3128, allocations: 11.34 kB / 435.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3129, allocations: 14.62 kB / 435.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3132, allocations: 45.05 kB / 435.8 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3133, allocations: 87.36 kB / 435.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3135, allocations: 37.5 kB / 435.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.3135, allocations: 27.8 kB / 435.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.3136, allocations: 46.47 kB / 436 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3136, allocations: 5.844 kB / 436 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.3136, allocations: 12.59 kB / 436 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.3137, allocations: 14.97 kB / 436 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3137, allocations: 32.67 kB / 436.1 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3139, allocations: 81.2 kB / 436.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3139, allocations: 3.938 kB / 436.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.314, allocations: 3.031 kB / 436.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.314, allocations: 0 / 436.1 MB, free: 37.41 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.0004172/0.3144, allocations: 385.4 kB / 436.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3144, allocations: 9.406 kB / 436.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.3145, allocations: 42.38 kB / 436.6 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.3145, allocations: 11.53 kB / 436.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3147, allocations: 210.1 kB / 436.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3147, allocations: 384 / 436.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3148, allocations: 14.3 kB / 436.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3149, allocations: 67.42 kB / 436.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3149, allocations: 3.938 kB / 436.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.315, allocations: 0 / 436.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.315, allocations: 2.906 kB / 436.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.3151, allocations: 30.33 kB / 436.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.3154, allocations: 345.6 kB / 437.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3157, allocations: 59.62 kB / 437.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.3158, allocations: 14.64 kB / 437.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3158, allocations: 4 kB / 437.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.3158, allocations: 44.7 kB / 437.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3158, allocations: 0 / 437.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001934/0.316, allocations: 67 kB / 437.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.316, allocations: 51.41 kB / 437.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3162, allocations: 144.2 kB / 437.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.3163, allocations: 25.7 kB / 437.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.3163, allocations: 105 kB / 437.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3163, allocations: 19.41 kB / 437.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.3164, allocations: 19.53 kB / 437.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.3164, allocations: 317.4 kB / 438.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.3165, allocations: 15.16 kB / 438.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.3165, allocations: 16.84 kB / 438.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.3166, allocations: 38.83 kB / 438.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3166, allocations: 0 / 438.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.922e-05/0.3167, allocations: 76.31 kB / 438.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3167, allocations: 5.969 kB / 438.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3167, allocations: 0 / 438.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3167, allocations: 3.938 kB / 438.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.3168, allocations: 7.625 kB / 438.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3168, allocations: 6.969 kB / 438.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.3168, allocations: 4 kB / 438.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3168, allocations: 2.438 kB / 438.3 MB, free: 35.46 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.42e-05/0.3169, allocations: 128.3 kB / 438.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3169, allocations: 9.625 kB / 438.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.317, allocations: 12.19 kB / 438.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.317, allocations: 2.844 kB / 438.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.317, allocations: 3.938 kB / 438.4 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.317, allocations: 0 / 438.4 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3171, allocations: 190.8 kB / 438.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3171, allocations: 0 / 438.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.3172, allocations: 5.562 kB / 438.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3172, allocations: 2.531 kB / 438.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3172, allocations: 3.141 kB / 438.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3172, allocations: 7.984 kB / 438.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3172, allocations: 3.938 kB / 438.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3174, allocations: 173.3 kB / 438.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.3175, allocations: 92.06 kB / 438.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3175, allocations: 6.953 kB / 438.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.3175, allocations: 0 / 438.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.3176, allocations: 10.58 kB / 438.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3176, allocations: 10.16 kB / 438.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.3177, allocations: 102.3 kB / 439 MB, free: 34.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3177, allocations: 0 / 439 MB, free: 34.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.3179, allocations: 22.75 kB / 439 MB, free: 34.73 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 0.0003098/0.3182, allocations: 0.7025 MB / 439.7 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3183, allocations: 33.5 kB / 439.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3183, allocations: 0 / 439.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.3184, allocations: 17.42 kB / 439.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3188, allocations: 24.94 kB / 439.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3199, allocations: 1.517 MB / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.32, allocations: 0.6991 MB / 442 MB, free: 32.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.303e-05/0.3201, allocations: 8.484 kB / 442 MB, free: 32.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3201, allocations: 25.25 kB / 442.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3201, allocations: 0 / 442.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3416, allocations: 2.063 MB / 444.1 MB, free: 31.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.913, allocations: 5.219 kB / 444.1 MB, free: 31.6 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/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)