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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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.09612/0.09612, allocations: 22.69 MB / 325.4 MB, free: 3.527 MB / 254.1 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.89 kB / 457.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1105, allocations: 58.01 MB / 0.5031 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.003185/0.1136, allocations: 1.709 MB / 0.5048 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.1139, allocations: 51.81 kB / 0.5048 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.114, allocations: 0 / 0.5048 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.114, allocations: 11.86 kB / 0.5048 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.1141, allocations: 31.77 kB / 0.5049 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.954e-05/0.1142, allocations: 19.98 kB / 0.5049 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1143, allocations: 75.66 kB / 0.505 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1145, allocations: 24.22 kB / 0.505 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.1145, allocations: 27.92 kB / 0.505 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.1146, allocations: 35.8 kB / 0.505 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1146, allocations: 11.98 kB / 0.5051 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.1146, allocations: 4 kB / 0.5051 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.1147, allocations: 15.98 kB / 0.5051 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.1147, allocations: 43.8 kB / 0.5051 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1149, allocations: 79.64 kB / 0.5052 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1149, allocations: 0 / 0.5052 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1149, allocations: 0 / 0.5052 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1149, allocations: 0 / 0.5052 GB, free: 5.477 MB / 382.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.0005113/0.1154, allocations: 383.4 kB / 0.5056 GB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1154, allocations: 11.97 kB / 0.5056 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.1155, allocations: 38.75 kB / 0.5056 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.1155, allocations: 8.891 kB / 0.5056 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1157, allocations: 180.3 kB / 0.5058 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1157, allocations: 8.562 kB / 0.5058 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1157, allocations: 8.375 kB / 0.5058 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1159, allocations: 93.67 kB / 0.5059 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1159, allocations: 0 / 0.5059 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1159, allocations: 7.984 kB / 0.5059 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1159, allocations: 0 / 0.5059 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.116, allocations: 50.05 kB / 0.5059 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.1167, allocations: 453.8 kB / 0.5064 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1168, allocations: 54.55 kB / 0.5064 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.1168, allocations: 20.95 kB / 0.5065 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1169, allocations: 4 kB / 0.5065 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1169, allocations: 38.5 kB / 0.5065 GB, free: 3.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1169, allocations: 0 / 0.5065 GB, free: 3.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001999/0.1171, allocations: 73.64 kB / 0.5066 GB, free: 3.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1171, allocations: 59.34 kB / 0.5066 GB, free: 3.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.1172, allocations: 113.8 kB / 0.5067 GB, free: 3.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1173, allocations: 25.7 kB / 0.5068 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.1173, allocations: 108.2 kB / 0.5069 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.1174, allocations: 19.78 kB / 0.5069 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.1174, allocations: 33.7 kB / 0.5069 GB, free: 3.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1175, allocations: 310.8 kB / 0.5072 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.1176, allocations: 19.98 kB / 0.5072 GB, free: 3.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1177, allocations: 38.52 kB / 0.5073 GB, free: 3.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.1177, allocations: 50.56 kB / 0.5073 GB, free: 3.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1177, allocations: 0 / 0.5073 GB, free: 3.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001359/0.1179, allocations: 85.58 kB / 0.5074 GB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1179, allocations: 8.062 kB / 0.5074 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1179, allocations: 0 / 0.5074 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1179, allocations: 4 kB / 0.5074 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.118, allocations: 23.86 kB / 0.5074 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.118, allocations: 4 kB / 0.5074 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.1181, allocations: 3.938 kB / 0.5074 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1181, allocations: 4 kB / 0.5074 GB, free: 2.91 MB / 382.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.241e-05/0.1182, allocations: 122.6 kB / 0.5076 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1182, allocations: 3.953 kB / 0.5076 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1184, allocations: 93.98 kB / 0.5076 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1184, allocations: 3.938 kB / 0.5076 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1184, allocations: 0 / 0.5076 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1184, allocations: 192 / 0.5076 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1186, allocations: 190.1 kB / 0.5078 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1186, allocations: 3.938 kB / 0.5078 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.1187, allocations: 12 kB / 0.5078 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1187, allocations: 3.984 kB / 0.5078 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1187, allocations: 4 kB / 0.5079 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.1187, allocations: 7.938 kB / 0.5079 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1187, allocations: 0 / 0.5079 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.1188, allocations: 171.4 kB / 0.508 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1189, allocations: 77.11 kB / 0.5081 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1189, allocations: 0 / 0.5081 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.119, allocations: 3.938 kB / 0.5081 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.119, allocations: 7.984 kB / 0.5081 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.119, allocations: 0 / 0.5081 GB, free: 2.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.119, allocations: 91.28 kB / 0.5082 GB, free: 2.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.119, allocations: 0 / 0.5082 GB, free: 2.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1193, allocations: 19.95 kB / 0.5082 GB, free: 2.016 MB / 382.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.0004811/0.1197, allocations: 0.6967 MB / 0.5089 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1199, allocations: 44.05 kB / 0.5089 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1199, allocations: 0 / 0.5089 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.1199, allocations: 19.94 kB / 0.509 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1202, allocations: 3.938 kB / 0.509 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.1207, allocations: 204 kB / 0.5092 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.121, allocations: 0.6885 MB / 0.5098 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.1211, allocations: 8.062 kB / 0.5098 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1211, allocations: 27.42 kB / 0.5099 GB, free: 240 kB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1211, allocations: 0 / 0.5099 GB, free: 240 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2025/0.3236, allocations: 1.497 MB / 0.5113 GB, free: 15.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.798, allocations: 5.453 kB / 0.5113 GB, free: 15.21 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.267616986762732] Failed to read output from testmodel.py, exit status != 0: 7.862795528024435 7.874581363 7.757247658 Calling exit ...