Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.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_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",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.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001185/0.001185, allocations: 195 kB / 16.14 MB, free: 6.645 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1786/0.1786, allocations: 22.35 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 54.94 MB / 435.2 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002057/0.2158, allocations: 1.743 MB / 436.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.216, allocations: 63.08 kB / 437 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.216, allocations: 4 kB / 437 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.216, allocations: 9.938 kB / 437 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2162, allocations: 17.88 kB / 437 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.752e-05/0.2162, allocations: 11.28 kB / 437 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.2163, allocations: 84.19 kB / 437.1 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.2164, allocations: 29.23 kB / 437.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.2164, allocations: 26.97 kB / 437.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.2165, allocations: 32.8 kB / 437.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2165, allocations: 5.062 kB / 437.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.2165, allocations: 5.438 kB / 437.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.2165, allocations: 13.75 kB / 437.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.2166, allocations: 38.89 kB / 437.2 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.2167, allocations: 74.02 kB / 437.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2167, allocations: 0 / 437.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.2167, allocations: 10.62 kB / 437.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2167, allocations: 0 / 437.3 MB, free: 38.04 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002769/0.217, allocations: 379.1 kB / 437.7 MB, free: 37.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.217, allocations: 16.09 kB / 437.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.406e-05/0.217, allocations: 41.11 kB / 437.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.2171, allocations: 10.66 kB / 437.8 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.793e-05/0.2171, allocations: 175.2 kB / 437.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.2171, allocations: 7.312 kB / 437.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2171, allocations: 9.844 kB / 437.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.2173, allocations: 97.31 kB / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2173, allocations: 0 / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2173, allocations: 3.094 kB / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2173, allocations: 0 / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.2174, allocations: 51.08 kB / 438.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.2178, allocations: 454.5 kB / 438.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.2179, allocations: 55.33 kB / 438.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.2179, allocations: 23.23 kB / 438.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2179, allocations: 0 / 438.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.002e-05/0.2179, allocations: 37.09 kB / 438.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.2179, allocations: 0 / 438.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001433/0.2181, allocations: 70.3 kB / 438.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.2181, allocations: 70.14 kB / 438.8 MB, free: 36.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.17e-05/0.2182, allocations: 102 kB / 438.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.2182, allocations: 29.12 kB / 438.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.2182, allocations: 106.2 kB / 439 MB, free: 36.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.2182, allocations: 18.41 kB / 439 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.2182, allocations: 25.16 kB / 439.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.2183, allocations: 310.8 kB / 439.4 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.2183, allocations: 20.12 kB / 439.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.2183, allocations: 41.23 kB / 439.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.2184, allocations: 50.58 kB / 439.5 MB, free: 36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2184, allocations: 4.062 kB / 439.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.317e-05/0.2185, allocations: 82.7 kB / 439.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.2185, allocations: 9.531 kB / 439.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2185, allocations: 6.641 kB / 439.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.2185, allocations: 0 / 439.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.2186, allocations: 30.03 kB / 439.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2186, allocations: 6.484 kB / 439.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.2187, allocations: 6.531 kB / 439.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.2187, allocations: 2.531 kB / 439.6 MB, free: 35.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.148e-05/0.2187, allocations: 120.3 kB / 439.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2188, allocations: 6.469 kB / 439.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2189, allocations: 81.95 kB / 439.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2189, allocations: 6.5 kB / 439.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2189, allocations: 0 / 439.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2189, allocations: 0 / 439.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.219, allocations: 188.1 kB / 440 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.219, allocations: 2.844 kB / 440 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.2191, allocations: 14.27 kB / 440 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2191, allocations: 0 / 440 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.2191, allocations: 0 / 440 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2191, allocations: 3.938 kB / 440 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2191, allocations: 6.562 kB / 440 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.2192, allocations: 168.5 kB / 440.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.2192, allocations: 79.98 kB / 440.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.2193, allocations: 0 / 440.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.2193, allocations: 6.719 kB / 440.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.2193, allocations: 6 kB / 440.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2194, allocations: 4 kB / 440.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.06e-05/0.2194, allocations: 85.16 kB / 440.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2194, allocations: 0 / 440.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.2196, allocations: 20.88 kB / 440.4 MB, free: 35.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002004/0.2198, allocations: 0.6973 MB / 441.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.2199, allocations: 41.62 kB / 441.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2199, allocations: 4.062 kB / 441.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.2199, allocations: 23.12 kB / 441.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2202, allocations: 10.5 kB / 441.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.2206, allocations: 250.9 kB / 441.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.2207, allocations: 0.6881 MB / 442.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.2207, allocations: 8.875 kB / 442.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.2207, allocations: 18.31 kB / 442.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2207, allocations: 0 / 442.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7869/1.008, allocations: 1.325 MB / 443.5 MB, free: 33.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.008, allocations: 172.2 kB / 443.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.164, allocations: 0 / 443.6 MB, free: 33.02 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1)