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.00484/0.00484, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001247/0.001247, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1913/0.1913, allocations: 22.36 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.53 kB / 436.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0776/0.07953, allocations: 54.97 MB / 491.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002134/0.08169, allocations: 1.69 MB / 493.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001959/0.08191, allocations: 55.81 kB / 493.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.08197, allocations: 4 kB / 493.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.08203, allocations: 15.86 kB / 493.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.08216, allocations: 19.78 kB / 493.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.666e-05/0.08221, allocations: 15.98 kB / 493.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.08233, allocations: 83.64 kB / 493.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.08247, allocations: 40.2 kB / 493.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.08252, allocations: 27.92 kB / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.08261, allocations: 39.78 kB / 493.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.08264, allocations: 8 kB / 493.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.08266, allocations: 4 kB / 493.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.08268, allocations: 12 kB / 493.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.08274, allocations: 43.78 kB / 493.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.08287, allocations: 79.92 kB / 493.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.08288, allocations: 3.938 kB / 493.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08288, allocations: 0 / 493.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.08289, allocations: 0 / 493.7 MB, free: 15.52 MB / 366.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.0004434/0.08334, allocations: 375.5 kB / 494.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.08338, allocations: 15.91 kB / 494.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.08343, allocations: 46.73 kB / 494.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.08346, allocations: 8.891 kB / 494.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.0836, allocations: 168.3 kB / 494.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.08362, allocations: 8.562 kB / 494.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.08364, allocations: 4.375 kB / 494.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.08382, allocations: 94.84 kB / 494.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.08384, allocations: 4 kB / 494.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.08385, allocations: 4 kB / 494.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.08386, allocations: 4 kB / 494.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.08397, allocations: 51.97 kB / 494.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.08455, allocations: 449.7 kB / 494.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.08469, allocations: 54.56 kB / 494.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.08474, allocations: 24.92 kB / 495 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.08477, allocations: 0 / 495 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.0848, allocations: 38.5 kB / 495 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.0848, allocations: 0 / 495 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001861/0.08499, allocations: 73.88 kB / 495.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.08504, allocations: 59.33 kB / 495.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.08513, allocations: 105.9 kB / 495.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.08516, allocations: 33.7 kB / 495.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.08523, allocations: 112.2 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.08525, allocations: 19.78 kB / 495.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.0853, allocations: 25.72 kB / 495.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.08544, allocations: 314.8 kB / 495.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.08548, allocations: 15.94 kB / 495.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.08553, allocations: 38.56 kB / 495.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.08562, allocations: 54.56 kB / 495.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.08563, allocations: 0 / 495.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001285/0.08577, allocations: 81.62 kB / 495.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.08579, allocations: 7.938 kB / 495.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.08579, allocations: 0 / 495.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.08582, allocations: 7.984 kB / 495.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.08592, allocations: 15.94 kB / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.08594, allocations: 4.062 kB / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.08598, allocations: 7.953 kB / 496 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.086, allocations: 8.125 kB / 496 MB, free: 12.96 MB / 366.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 9.118e-05/0.08609, allocations: 122.6 kB / 496.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.08613, allocations: 11.89 kB / 496.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.08628, allocations: 82.06 kB / 496.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.08629, allocations: 3.938 kB / 496.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.0863, allocations: 0 / 496.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.08631, allocations: 7.984 kB / 496.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.08652, allocations: 189.6 kB / 496.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.08653, allocations: 0 / 496.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.0866, allocations: 15.98 kB / 496.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.08661, allocations: 0 / 496.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.08662, allocations: 0 / 496.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.08663, allocations: 3.938 kB / 496.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.08663, allocations: 0 / 496.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.08679, allocations: 167.5 kB / 496.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.08685, allocations: 85.06 kB / 496.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.08686, allocations: 3.984 kB / 496.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.08693, allocations: 7.922 kB / 496.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.08696, allocations: 4 kB / 496.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.08697, allocations: 256 / 496.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.08702, allocations: 91.27 kB / 496.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08703, allocations: 4 kB / 496.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.08727, allocations: 19.95 kB / 496.8 MB, free: 12.06 MB / 366.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.0004474/0.08772, allocations: 0.689 MB / 497.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.08785, allocations: 43.98 kB / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.08786, allocations: 0 / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.0879, allocations: 23.92 kB / 497.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.08817, allocations: 14.53 kB / 497.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.08867, allocations: 204.1 kB / 497.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.08899, allocations: 0.6897 MB / 498.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.08903, allocations: 7.984 kB / 498.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.08908, allocations: 27.44 kB / 498.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08909, allocations: 0 / 498.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3647/0.4538, allocations: 1.49 MB / 500 MB, free: 8.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/9.176, allocations: 10.23 kB / 500 MB, free: 8.836 MB / 366.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)