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.001177/0.001177, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001156/0.001156, allocations: 194.6 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.182/0.182, allocations: 22.36 MB / 312.4 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 63.91 kB / 378.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2148, allocations: 54.94 MB / 433.3 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002145/0.217, allocations: 1.706 MB / 435 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002722/0.2173, allocations: 156.5 kB / 435.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.2173, allocations: 2.75 kB / 435.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.2174, allocations: 7.641 kB / 435.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.2174, allocations: 6.969 kB / 435.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.2176, allocations: 47.56 kB / 435.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.2177, allocations: 83.64 kB / 435.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.2178, allocations: 39.38 kB / 435.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.2179, allocations: 34.05 kB / 435.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.2179, allocations: 28.94 kB / 435.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2179, allocations: 5.781 kB / 435.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.2179, allocations: 8.688 kB / 435.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.218, allocations: 21.72 kB / 435.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.218, allocations: 32.86 kB / 435.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.229e-05/0.2181, allocations: 79.56 kB / 435.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2181, allocations: 0 / 435.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2181, allocations: 0 / 435.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2181, allocations: 0 / 435.5 MB, free: 37.11 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.0002685/0.2184, allocations: 393 kB / 435.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.2184, allocations: 8.656 kB / 435.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.2184, allocations: 37.34 kB / 435.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.2185, allocations: 14.22 kB / 436 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2186, allocations: 205.4 kB / 436.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2186, allocations: 7.25 kB / 436.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2186, allocations: 3.156 kB / 436.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.2187, allocations: 65.16 kB / 436.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.2187, allocations: 6.875 kB / 436.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2188, allocations: 8 kB / 436.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2188, allocations: 0 / 436.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.2188, allocations: 34.78 kB / 436.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2191, allocations: 340.2 kB / 436.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.2194, allocations: 71.05 kB / 436.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.2194, allocations: 15.11 kB / 436.7 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2194, allocations: 3.234 kB / 436.7 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.586e-06/0.2194, allocations: 30.56 kB / 436.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.2195, allocations: 0 / 436.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001669/0.2196, allocations: 84.84 kB / 436.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.364e-05/0.2196, allocations: 51.41 kB / 436.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.2197, allocations: 142.5 kB / 437 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-06/0.2197, allocations: 25.7 kB / 437 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.417e-05/0.2198, allocations: 105.3 kB / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2198, allocations: 15.03 kB / 437.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.2198, allocations: 19.53 kB / 437.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.472e-05/0.2198, allocations: 321.1 kB / 437.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.2199, allocations: 13.84 kB / 437.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.2199, allocations: 15.84 kB / 437.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.22, allocations: 34.42 kB / 437.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.22, allocations: 0 / 437.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.803e-05/0.2201, allocations: 82.84 kB / 437.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.2201, allocations: 5.812 kB / 437.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2201, allocations: 0 / 437.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.2201, allocations: 4 kB / 437.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.2202, allocations: 9.75 kB / 437.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.2202, allocations: 7.938 kB / 437.7 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.2202, allocations: 3.281 kB / 437.7 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2202, allocations: 6.828 kB / 437.7 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 (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 4.088e-05/0.2203, allocations: 116.6 kB / 437.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2203, allocations: 9.594 kB / 437.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.2203, allocations: 8.25 kB / 437.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2203, allocations: 2.781 kB / 437.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2204, allocations: 3.938 kB / 437.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.2204, allocations: 7.281 kB / 437.8 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2205, allocations: 188.9 kB / 438 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2205, allocations: 0 / 438 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.2205, allocations: 5.688 kB / 438 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2206, allocations: 2.938 kB / 438 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.2206, allocations: 7.422 kB / 438 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2206, allocations: 3.938 kB / 438 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2206, allocations: 3.938 kB / 438 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.2207, allocations: 175.2 kB / 438.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.2208, allocations: 84.86 kB / 438.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2208, allocations: 0 / 438.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.2209, allocations: 11.16 kB / 438.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.2209, allocations: 7.719 kB / 438.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2209, allocations: 0 / 438.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.2209, allocations: 111.9 kB / 438.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2209, allocations: 0 / 438.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.2212, allocations: 16.5 kB / 438.4 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 (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.0002403/0.2214, allocations: 0.7114 MB / 439.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.2215, allocations: 30.88 kB / 439.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2215, allocations: 0 / 439.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.2216, allocations: 19.53 kB / 439.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2219, allocations: 26.52 kB / 439.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.2228, allocations: 1.53 MB / 440.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.553e-05/0.2229, allocations: 0.6969 MB / 441.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.2229, allocations: 10.11 kB / 441.4 MB, free: 31.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.223, allocations: 25.28 kB / 441.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.223, allocations: 0 / 441.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.77/2.993, allocations: 1.952 MB / 443.4 MB, free: 31.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/2.993, allocations: 177 kB / 443.6 MB, free: 31.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/4.608, allocations: 0 / 443.6 MB, free: 31.14 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)