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.001205/0.001205, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001207/0.001207, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.187/1.187, 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.1708/0.1708, allocations: 22.36 MB / 312.4 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 55.91 kB / 380.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2123, allocations: 54.94 MB / 435.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002031/0.2144, allocations: 1.742 MB / 437.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000153/0.2145, allocations: 62.23 kB / 437.2 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.2146, allocations: 2.656 kB / 437.2 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.2146, allocations: 7.172 kB / 437.2 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2147, allocations: 17.94 kB / 437.2 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.966e-05/0.2148, allocations: 14.09 kB / 437.2 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.2149, allocations: 82.88 kB / 437.3 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.215, allocations: 35.72 kB / 437.3 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.215, allocations: 31.16 kB / 437.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.2151, allocations: 31.77 kB / 437.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2151, allocations: 9.344 kB / 437.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.2151, allocations: 6.906 kB / 437.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.2151, allocations: 11.19 kB / 437.4 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.2152, allocations: 47.75 kB / 437.5 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.554e-05/0.2152, allocations: 75.16 kB / 437.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2153, allocations: 6.594 kB / 437.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2153, allocations: 0 / 437.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2153, allocations: 0 / 437.5 MB, free: 38.22 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.0002808/0.2156, allocations: 374.5 kB / 437.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2156, allocations: 14.53 kB / 437.9 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.2156, allocations: 41.31 kB / 438 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.2156, allocations: 7.5 kB / 438 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.543e-05/0.2157, allocations: 174.4 kB / 438.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2157, allocations: 6 kB / 438.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2157, allocations: 17.91 kB / 438.2 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.2159, allocations: 89.11 kB / 438.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.2159, allocations: 2.812 kB / 438.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2159, allocations: 4 kB / 438.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2159, allocations: 2.469 kB / 438.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.216, allocations: 48.39 kB / 438.3 MB, free: 37.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.2164, allocations: 457.9 kB / 438.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.2165, allocations: 53 kB / 438.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.2165, allocations: 25.14 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2165, allocations: 2.812 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.157e-06/0.2166, allocations: 34.56 kB / 438.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2166, allocations: 4 kB / 438.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001401/0.2167, allocations: 79.3 kB / 438.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.2167, allocations: 55.34 kB / 439 MB, free: 36.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.2168, allocations: 107.5 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.483e-06/0.2168, allocations: 33.64 kB / 439.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.2168, allocations: 102 kB / 439.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2168, allocations: 18.53 kB / 439.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.2169, allocations: 22.3 kB / 439.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.2169, allocations: 321.3 kB / 439.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.2169, allocations: 18.88 kB / 439.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.217, allocations: 32.08 kB / 439.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.217, allocations: 62.95 kB / 439.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.217, allocations: 0 / 439.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.08e-05/0.2171, allocations: 93.16 kB / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.2171, allocations: 6.062 kB / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2171, allocations: 0 / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2172, allocations: 0 / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.2173, allocations: 22.09 kB / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2173, allocations: 2.938 kB / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.2173, allocations: 0 / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2173, allocations: 6.906 kB / 439.8 MB, free: 36.1 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.274e-05/0.2174, allocations: 119.8 kB / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2174, allocations: 11.97 kB / 439.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2175, allocations: 76.47 kB / 440 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2175, allocations: 3.938 kB / 440 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2175, allocations: 0 / 440 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2175, allocations: 2.969 kB / 440 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2177, allocations: 194.8 kB / 440.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2177, allocations: 0 / 440.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.2177, allocations: 15.5 kB / 440.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2177, allocations: 0 / 440.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2177, allocations: 4.5 kB / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2177, allocations: 6.781 kB / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2178, allocations: 0 / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.394e-05/0.2178, allocations: 164 kB / 440.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.2179, allocations: 77.11 kB / 440.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2179, allocations: 14.31 kB / 440.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.2179, allocations: 3.938 kB / 440.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.218, allocations: 2.906 kB / 440.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.218, allocations: 4 kB / 440.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.012e-05/0.218, allocations: 88.05 kB / 440.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.218, allocations: 0 / 440.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.2182, allocations: 20.88 kB / 440.6 MB, free: 35.36 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.000202/0.2184, allocations: 0.6951 MB / 441.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.947e-05/0.2185, allocations: 57.08 kB / 441.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2185, allocations: 0 / 441.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.2186, allocations: 18.47 kB / 441.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.2188, allocations: 11.84 kB / 441.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.2192, allocations: 242.1 kB / 441.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.2193, allocations: 0.6938 MB / 442.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.2193, allocations: 6.438 kB / 442.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.2194, allocations: 18.94 kB / 442.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2194, allocations: 7.938 kB / 442.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/1.221, allocations: 1.367 MB / 443.7 MB, free: 33.45 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.221, allocations: 164.6 kB / 443.9 MB, free: 33.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/3.403, allocations: 3.172 kB / 443.9 MB, free: 33.2 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)