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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001118/0.001118, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.151/1.151, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1643/0.1643, allocations: 22.34 MB / 312.3 MB, free: 12.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.91 kB / 378.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2215, allocations: 54.95 MB / 433.1 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002295/0.2238, allocations: 1.695 MB / 434.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003391/0.2242, allocations: 166.2 kB / 435 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.2243, allocations: 0 / 435 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.2243, allocations: 3.938 kB / 435 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.2244, allocations: 14.78 kB / 435 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2246, allocations: 38.14 kB / 435 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2247, allocations: 78.98 kB / 435.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2248, allocations: 35.88 kB / 435.1 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.2249, allocations: 23.84 kB / 435.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.2249, allocations: 39.33 kB / 435.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2249, allocations: 3.875 kB / 435.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.225, allocations: 3.719 kB / 435.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.225, allocations: 11.03 kB / 435.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.225, allocations: 36.8 kB / 435.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.2251, allocations: 75.94 kB / 435.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2251, allocations: 0 / 435.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.2251, allocations: 0 / 435.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.2251, allocations: 0 / 435.3 MB, free: 37.15 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.0003299/0.2255, allocations: 393.7 kB / 435.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2255, allocations: 12.44 kB / 435.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.511e-05/0.2255, allocations: 37.16 kB / 435.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.2256, allocations: 14.19 kB / 435.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2257, allocations: 203.8 kB / 436 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.2257, allocations: 384 / 436 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2257, allocations: 11.75 kB / 436 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2259, allocations: 72.05 kB / 436 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2259, allocations: 7.875 kB / 436.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2259, allocations: 4 kB / 436.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2259, allocations: 2.75 kB / 436.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.226, allocations: 23.56 kB / 436.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.2263, allocations: 359.1 kB / 436.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.2266, allocations: 61.02 kB / 436.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.2266, allocations: 18.12 kB / 436.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2266, allocations: 7.984 kB / 436.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.2267, allocations: 30.56 kB / 436.5 MB, free: 36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.2267, allocations: 2.812 kB / 436.5 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001906/0.2269, allocations: 80.31 kB / 436.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.619e-05/0.2269, allocations: 54.19 kB / 436.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.227, allocations: 141.4 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.227, allocations: 25.7 kB / 436.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.227, allocations: 109.7 kB / 436.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.227, allocations: 14.69 kB / 437 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2271, allocations: 16.62 kB / 437 MB, free: 35.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.2271, allocations: 321.5 kB / 437.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.2272, allocations: 19.94 kB / 437.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.2272, allocations: 12.25 kB / 437.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.2273, allocations: 42.44 kB / 437.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2273, allocations: 4 kB / 437.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.2274, allocations: 85.42 kB / 437.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2274, allocations: 5.844 kB / 437.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2274, allocations: 256 / 437.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2274, allocations: 0 / 437.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.2275, allocations: 15.61 kB / 437.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.2275, allocations: 2.938 kB / 437.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.2275, allocations: 7.844 kB / 437.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2275, allocations: 2.844 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 (7): * Single equations (assignments): 7 * 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.686e-05/0.2276, allocations: 124.5 kB / 437.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2276, allocations: 2.844 kB / 437.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.2277, allocations: 14.48 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2277, allocations: 2.906 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2277, allocations: 0 / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2277, allocations: 3.938 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2278, allocations: 199.4 kB / 437.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2278, allocations: 3.938 kB / 437.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.2279, allocations: 6.344 kB / 437.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2279, allocations: 2.938 kB / 437.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2279, allocations: 11.27 kB / 437.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2279, allocations: 0 / 437.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2279, allocations: 0 / 437.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2281, allocations: 184.2 kB / 438 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.2281, allocations: 87.89 kB / 438.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2281, allocations: 4 kB / 438.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.2282, allocations: 6.188 kB / 438.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.2283, allocations: 6.906 kB / 438.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2283, allocations: 4 kB / 438.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.2283, allocations: 113.6 kB / 438.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2283, allocations: 3.938 kB / 438.3 MB, free: 34.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.2285, allocations: 10.84 kB / 438.3 MB, free: 34.45 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 (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.0002753/0.2288, allocations: 0.7113 MB / 439 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.2289, allocations: 40.97 kB / 439 MB, free: 33.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2289, allocations: 0 / 439 MB, free: 33.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.229, allocations: 14.38 kB / 439 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2293, allocations: 24.81 kB / 439.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.2303, allocations: 1.538 MB / 440.6 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.2304, allocations: 0.6958 MB / 441.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.2304, allocations: 14.48 kB / 441.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.2305, allocations: 30.56 kB / 441.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2305, allocations: 0 / 441.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1808/0.4113, allocations: 1.995 MB / 443.3 MB, free: 31.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.4115, allocations: 169.5 kB / 443.5 MB, free: 31.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.122, allocations: 4 kB / 443.5 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)