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.0009963/0.0009964, allocations: 91.77 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.007921/0.007921, allocations: 171.4 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1828/0.1828, allocations: 22.34 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002612, allocations: 8 kB / 382.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.23, allocations: 55.98 MB / 438.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.001347/0.2314, allocations: 1.409 MB / 440.1 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.2316, allocations: 57.02 kB / 440.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.2316, allocations: 3.312 kB / 440.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2316, allocations: 3.328 kB / 440.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2318, allocations: 26.33 kB / 440.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.196e-05/0.2318, allocations: 15.03 kB / 440.2 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.2319, allocations: 80.62 kB / 440.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.232, allocations: 27.44 kB / 440.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.873e-05/0.2321, allocations: 27.48 kB / 440.3 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.2321, allocations: 28.81 kB / 440.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2322, allocations: 3 kB / 440.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2322, allocations: 5.375 kB / 440.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.2322, allocations: 13.95 kB / 440.4 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.2322, allocations: 59.5 kB / 440.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.2323, allocations: 69.11 kB / 440.5 MB, free: 38.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2323, allocations: 0 / 440.5 MB, free: 38.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2323, allocations: 0 / 440.5 MB, free: 38.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.2323, allocations: 3.938 kB / 440.5 MB, free: 38.07 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.000294/0.2326, allocations: 365.6 kB / 440.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2327, allocations: 15.03 kB / 440.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.2327, allocations: 40.8 kB / 440.9 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2328, allocations: 7.5 kB / 440.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.538e-05/0.2328, allocations: 170.8 kB / 441.1 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2328, allocations: 9.906 kB / 441.1 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.2329, allocations: 9.781 kB / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.233, allocations: 91.72 kB / 441.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.233, allocations: 3.219 kB / 441.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.233, allocations: 4 kB / 441.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.233, allocations: 2.719 kB / 441.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.2331, allocations: 49.06 kB / 441.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.2336, allocations: 451.2 kB / 441.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.2337, allocations: 61.22 kB / 441.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.2337, allocations: 27.11 kB / 441.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2337, allocations: 0 / 441.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.2338, allocations: 34.12 kB / 441.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.2338, allocations: 0 / 441.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001605/0.2339, allocations: 78.95 kB / 441.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.234, allocations: 55.34 kB / 441.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.234, allocations: 113.1 kB / 442.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.234, allocations: 25.7 kB / 442.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.2341, allocations: 108.7 kB / 442.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.2341, allocations: 25.62 kB / 442.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.2341, allocations: 12.19 kB / 442.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.2342, allocations: 318.2 kB / 442.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.2342, allocations: 14.88 kB / 442.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.2342, allocations: 34.42 kB / 442.6 MB, free: 36.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.2343, allocations: 61.89 kB / 442.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2343, allocations: 0 / 442.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.963e-05/0.2344, allocations: 87.86 kB / 442.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2344, allocations: 5.562 kB / 442.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2344, allocations: 2.781 kB / 442.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2344, allocations: 0 / 442.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.2345, allocations: 21.41 kB / 442.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2346, allocations: 10.66 kB / 442.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.2346, allocations: 0 / 442.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.2346, allocations: 3.25 kB / 442.8 MB, free: 35.96 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.117e-05/0.2347, allocations: 121.7 kB / 442.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2347, allocations: 9.969 kB / 442.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.2348, allocations: 75.12 kB / 443 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2348, allocations: 7.922 kB / 443 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2348, allocations: 6.688 kB / 443 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2349, allocations: 0 / 443 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.235, allocations: 192.2 kB / 443.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.235, allocations: 0 / 443.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.2351, allocations: 18.75 kB / 443.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2351, allocations: 2.531 kB / 443.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2351, allocations: 0 / 443.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2351, allocations: 3.938 kB / 443.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2351, allocations: 0 / 443.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.513e-05/0.2352, allocations: 159.6 kB / 443.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.2352, allocations: 86.98 kB / 443.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2353, allocations: 4 kB / 443.4 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.2353, allocations: 7.25 kB / 443.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.2353, allocations: 3.312 kB / 443.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2353, allocations: 0 / 443.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.2354, allocations: 92.62 kB / 443.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2354, allocations: 0 / 443.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000227/0.2356, allocations: 14.28 kB / 443.6 MB, free: 35.23 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.0002288/0.2358, allocations: 0.707 MB / 444.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.2359, allocations: 45.44 kB / 444.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.236, allocations: 0 / 444.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.236, allocations: 21.12 kB / 444.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2363, allocations: 16.7 kB / 444.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.2367, allocations: 246.6 kB / 444.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.2368, allocations: 0.6951 MB / 445.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.2369, allocations: 6.625 kB / 445.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.2369, allocations: 25.25 kB / 445.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2369, allocations: 0 / 445.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1632/0.4001, allocations: 1.26 MB / 446.6 MB, free: 33.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.4003, allocations: 168.8 kB / 446.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.258, allocations: 0 / 446.7 MB, free: 33.15 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)