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.0008438/0.0008438, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004945/0.004945, allocations: 171.1 kB / 16.26 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.131/1.131, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1618/0.1618, allocations: 22.36 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 8 kB / 380.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 55.98 MB / 436.6 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.001123/0.2133, allocations: 1.36 MB / 438 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002592/0.2136, allocations: 158.8 kB / 438.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.2137, allocations: 2.688 kB / 438.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.2137, allocations: 7.312 kB / 438.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.2138, allocations: 11.92 kB / 438.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.2139, allocations: 40.88 kB / 438.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.214, allocations: 85.41 kB / 438.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.2141, allocations: 36.14 kB / 438.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.2141, allocations: 17.48 kB / 438.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.2142, allocations: 28.09 kB / 438.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2142, allocations: 0 / 438.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.2142, allocations: 2.781 kB / 438.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.2142, allocations: 18.8 kB / 438.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.2143, allocations: 54.58 kB / 438.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.412e-05/0.2143, allocations: 76.45 kB / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2143, allocations: 0 / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.2143, allocations: 0 / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.2143, allocations: 0 / 438.5 MB, free: 37.02 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.0002551/0.2146, allocations: 370.3 kB / 438.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.2146, allocations: 14.25 kB / 438.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/0.2147, allocations: 40.41 kB / 438.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.2147, allocations: 9.75 kB / 438.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2148, allocations: 201.8 kB / 439.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.2148, allocations: 10.75 kB / 439.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2148, allocations: 6 kB / 439.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.215, allocations: 70.17 kB / 439.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.215, allocations: 3.938 kB / 439.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.215, allocations: 2.969 kB / 439.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.215, allocations: 0 / 439.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.2151, allocations: 25.09 kB / 439.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.2154, allocations: 353.2 kB / 439.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2156, allocations: 66.64 kB / 439.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.2156, allocations: 14.55 kB / 439.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2157, allocations: 6.625 kB / 439.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.327e-06/0.2157, allocations: 34.56 kB / 439.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.2157, allocations: 0 / 439.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001689/0.2158, allocations: 79.52 kB / 439.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.468e-05/0.2159, allocations: 51.41 kB / 439.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.2159, allocations: 149.8 kB / 440 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.216, allocations: 25.7 kB / 440 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.216, allocations: 105.9 kB / 440.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.216, allocations: 26.31 kB / 440.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.216, allocations: 20.19 kB / 440.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.2161, allocations: 317.1 kB / 440.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.2161, allocations: 19.98 kB / 440.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.2161, allocations: 15.59 kB / 440.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.2162, allocations: 37.62 kB / 440.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2162, allocations: 0 / 440.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001003/0.2163, allocations: 82.3 kB / 440.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.2163, allocations: 5.344 kB / 440.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2163, allocations: 3.328 kB / 440.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.2164, allocations: 0 / 440.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.2164, allocations: 16.3 kB / 440.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2164, allocations: 3.094 kB / 440.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.2165, allocations: 3.938 kB / 440.6 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2165, allocations: 3 kB / 440.7 MB, free: 35.06 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.161e-05/0.2165, allocations: 120.8 kB / 440.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2165, allocations: 14.11 kB / 440.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.2166, allocations: 11.31 kB / 440.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2166, allocations: 0 / 440.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.2166, allocations: 0 / 440.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2166, allocations: 6.969 kB / 440.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.2167, allocations: 195.9 kB / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2167, allocations: 0 / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.2168, allocations: 9.375 kB / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2168, allocations: 0 / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-06/0.2168, allocations: 2.875 kB / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2168, allocations: 4 kB / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2168, allocations: 0 / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.217, allocations: 188.9 kB / 441.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.217, allocations: 88.89 kB / 441.3 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.217, allocations: 7.797 kB / 441.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.2171, allocations: 4.25 kB / 441.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.2171, allocations: 6.719 kB / 441.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2171, allocations: 2.688 kB / 441.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.2172, allocations: 115.6 kB / 441.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2172, allocations: 0 / 441.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.2174, allocations: 10.56 kB / 441.4 MB, free: 34.34 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.0002502/0.2176, allocations: 0.7156 MB / 442.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.2177, allocations: 42 kB / 442.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.2177, allocations: 0 / 442.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.2178, allocations: 23.25 kB / 442.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2181, allocations: 20.86 kB / 442.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.219, allocations: 1.549 MB / 443.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.219, allocations: 0.6944 MB / 444.5 MB, free: 31.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.2191, allocations: 15.59 kB / 444.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.2191, allocations: 22.94 kB / 444.5 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2191, allocations: 4 kB / 444.5 MB, free: 31.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/0.3908, allocations: 1.934 MB / 446.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/0.391, allocations: 166.3 kB / 446.6 MB, free: 31.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.178, allocations: 0 / 446.6 MB, free: 31.12 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)