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.001514/0.001514, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1875/0.1875, allocations: 22.35 MB / 312.7 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 380.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2291, allocations: 54.95 MB / 435.9 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002452/0.2316, allocations: 1.697 MB / 437.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000185/0.2318, allocations: 56.64 kB / 437.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.2319, allocations: 3.938 kB / 437.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.2319, allocations: 9.938 kB / 437.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2321, allocations: 25.56 kB / 437.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.797e-05/0.2321, allocations: 14.27 kB / 437.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.2322, allocations: 79.3 kB / 437.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2324, allocations: 36.45 kB / 437.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.2324, allocations: 30.53 kB / 437.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.2325, allocations: 31.88 kB / 437.9 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2325, allocations: 6.281 kB / 437.9 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.2325, allocations: 13.03 kB / 437.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.2326, allocations: 19.34 kB / 437.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.2326, allocations: 35.89 kB / 437.9 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.866e-05/0.2327, allocations: 75.94 kB / 438 MB, free: 38.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2327, allocations: 0 / 438 MB, free: 38.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2327, allocations: 7.875 kB / 438 MB, free: 38.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2327, allocations: 0 / 438 MB, free: 38.24 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.0003453/0.2331, allocations: 371.9 kB / 438.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2331, allocations: 10.56 kB / 438.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.2332, allocations: 45.06 kB / 438.4 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.2332, allocations: 10.38 kB / 438.4 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.2333, allocations: 175.4 kB / 438.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2333, allocations: 9.688 kB / 438.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2333, allocations: 5.312 kB / 438.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2335, allocations: 95.88 kB / 438.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2335, allocations: 0 / 438.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2335, allocations: 4 kB / 438.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2335, allocations: 2.656 kB / 438.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.2336, allocations: 53.25 kB / 438.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.2341, allocations: 452.2 kB / 439.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.2342, allocations: 61.33 kB / 439.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.2343, allocations: 19.73 kB / 439.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.2343, allocations: 8 kB / 439.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2343, allocations: 37.12 kB / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2343, allocations: 0 / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001857/0.2345, allocations: 75.81 kB / 439.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2345, allocations: 55.34 kB / 439.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.2346, allocations: 110 kB / 439.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.2346, allocations: 25.7 kB / 439.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.2347, allocations: 106.1 kB / 439.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.2347, allocations: 22.42 kB / 439.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.2347, allocations: 27.25 kB / 439.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.2348, allocations: 313.8 kB / 440.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.2348, allocations: 15.58 kB / 440.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.2348, allocations: 40.89 kB / 440.1 MB, free: 36.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.2349, allocations: 50.33 kB / 440.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2349, allocations: 0 / 440.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001044/0.235, allocations: 82.86 kB / 440.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2351, allocations: 9.5 kB / 440.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2351, allocations: 6.438 kB / 440.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2351, allocations: 0 / 440.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2352, allocations: 21.94 kB / 440.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2352, allocations: 6.047 kB / 440.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.2353, allocations: 2.906 kB / 440.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.2353, allocations: 4 kB / 440.3 MB, free: 36.13 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 5.918e-05/0.2353, allocations: 124.2 kB / 440.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.2354, allocations: 6.719 kB / 440.4 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.2355, allocations: 78.55 kB / 440.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2355, allocations: 3.938 kB / 440.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2355, allocations: 6.625 kB / 440.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2355, allocations: 0 / 440.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2357, allocations: 193.3 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2357, allocations: 0.5 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.2358, allocations: 13.94 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2358, allocations: 2.75 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2358, allocations: 0 / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2358, allocations: 7.938 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2358, allocations: 0 / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2359, allocations: 171.3 kB / 440.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.2359, allocations: 80.05 kB / 441 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2359, allocations: 4 kB / 441 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.236, allocations: 3.938 kB / 441 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.236, allocations: 6.672 kB / 441 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.236, allocations: 2.531 kB / 441 MB, free: 35.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.2361, allocations: 84.31 kB / 441.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2361, allocations: 0 / 441.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000242/0.2363, allocations: 20.59 kB / 441.1 MB, free: 35.39 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.0002325/0.2366, allocations: 0.6965 MB / 441.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.2367, allocations: 47.34 kB / 441.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2367, allocations: 3.938 kB / 441.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.2367, allocations: 20.48 kB / 441.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.237, allocations: 14.72 kB / 441.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.2374, allocations: 209.2 kB / 442.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.98e-05/0.2375, allocations: 0.692 MB / 442.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.2375, allocations: 9.125 kB / 442.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.2376, allocations: 21.61 kB / 442.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2376, allocations: 0 / 442.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.2531, allocations: 1.451 MB / 444.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.342, allocations: 15.42 kB / 444.3 MB, free: 33.38 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)