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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8916/0.8916, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0609/0.0609, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 415.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.234e-05, allocations: 3.656 kB / 415.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002706/0.002729, allocations: 1.691 MB / 416.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.003004, allocations: 54.7 kB / 416.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.003064, allocations: 1.188 kB / 416.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.484e-05/0.003119, allocations: 12.05 kB / 416.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.003262, allocations: 26.23 kB / 416.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.675e-05/0.003328, allocations: 13.97 kB / 416.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003445, allocations: 87.89 kB / 417 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.003595, allocations: 23.75 kB / 417 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.003638, allocations: 28.02 kB / 417 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.003741, allocations: 25.5 kB / 417 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.003775, allocations: 6.75 kB / 417 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.003792, allocations: 7.781 kB / 417 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.003815, allocations: 12.67 kB / 417.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.003855, allocations: 35.89 kB / 417.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.003999, allocations: 84.22 kB / 417.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.004003, allocations: 0 / 417.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.004005, allocations: 1.188 kB / 417.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00401, allocations: 0 / 417.2 MB, free: 11.36 MB / 330.7 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.000372/0.004382, allocations: 293 kB / 417.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.004428, allocations: 10.89 kB / 417.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.004462, allocations: 40.98 kB / 417.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.004492, allocations: 12.84 kB / 417.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.004565, allocations: 121.6 kB / 417.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.00458, allocations: 8.688 kB / 417.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.004596, allocations: 10.56 kB / 417.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.004768, allocations: 89.86 kB / 417.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.004779, allocations: 2.453 kB / 417.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.004791, allocations: 4.797 kB / 417.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004798, allocations: 2.75 kB / 417.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.004903, allocations: 53.48 kB / 417.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.005421, allocations: 320 kB / 418.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.005508, allocations: 57.5 kB / 418.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.005537, allocations: 22.52 kB / 418.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.005555, allocations: 1.375 kB / 418.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.005572, allocations: 36.58 kB / 418.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005573, allocations: 0 / 418.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001511/0.005724, allocations: 82.92 kB / 418.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.005743, allocations: 51.41 kB / 418.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.613e-05/0.005789, allocations: 107.1 kB / 418.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.005796, allocations: 25.7 kB / 418.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.005827, allocations: 107.7 kB / 418.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.005837, allocations: 25.5 kB / 418.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.005864, allocations: 24.27 kB / 418.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.582e-05/0.00589, allocations: 318.7 kB / 419 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.005913, allocations: 17.31 kB / 419 MB, free: 9.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.005944, allocations: 32.83 kB / 419 MB, free: 9.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.005996, allocations: 63.83 kB / 419.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005999, allocations: 0 / 419.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.777e-05/0.006076, allocations: 80.78 kB / 419.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.00609, allocations: 7.75 kB / 419.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.006096, allocations: 6.688 kB / 419.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.006109, allocations: 1.25 kB / 419.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.0062, allocations: 21.06 kB / 419.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.006206, allocations: 1.688 kB / 419.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.006229, allocations: 10.69 kB / 419.2 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.006235, allocations: 1.531 kB / 419.2 MB, free: 9.555 MB / 330.7 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.087e-05/0.006276, allocations: 114.7 kB / 419.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.00629, allocations: 7.422 kB / 419.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.006406, allocations: 84.09 kB / 419.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006408, allocations: 5.188 kB / 419.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006412, allocations: 3.938 kB / 419.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006415, allocations: 2.25 kB / 419.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.006524, allocations: 165.4 kB / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006525, allocations: 0.8438 kB / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.006566, allocations: 13.22 kB / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006567, allocations: 1.281 kB / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.006575, allocations: 0 / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006576, allocations: 1.859 kB / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006577, allocations: 0 / 419.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.479e-05/0.006652, allocations: 171.1 kB / 419.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.006663, allocations: 11.23 kB / 419.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.006673, allocations: 1.281 kB / 419.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/0.006703, allocations: 0 / 419.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.006717, allocations: 4.812 kB / 419.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.00672, allocations: 1.188 kB / 419.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.944e-05/0.00674, allocations: 95.56 kB / 419.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00674, allocations: 0 / 419.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.006895, allocations: 20.77 kB / 419.9 MB, free: 8.934 MB / 330.7 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.0001692/0.007064, allocations: 0.6933 MB / 420.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.007163, allocations: 47.56 kB / 420.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007165, allocations: 1.281 kB / 420.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.007186, allocations: 21.56 kB / 420.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.007442, allocations: 15.12 kB / 420.7 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.007831, allocations: 199.5 kB / 420.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.007875, allocations: 73.86 kB / 420.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.007904, allocations: 9.328 kB / 421 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.007948, allocations: 22.58 kB / 421 MB, free: 7.949 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007949, allocations: 0 / 421 MB, free: 7.949 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.02348, allocations: 2.142 MB / 423.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/6.863, allocations: 10.56 kB / 423.1 MB, free: 7.035 MB / 330.7 MB " [Timeout remaining time 653] (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 --stepSize=1 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.74080681335181] Failed to read output from testmodel.py, exit status != 0: 6.944286174140871 6.952493672 6.946671587 Calling exit ...