Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001536/0.001536, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001754/0.001754, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1062/0.1062, allocations: 22.93 MB / 332.5 MB, free: 2.637 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.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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 60.84 kB / 466.7 MB, free: 32.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1235, allocations: 59.27 MB / 0.5137 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002166/0.1257, allocations: 0.7038 MB / 0.5144 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.1259, allocations: 27.91 kB / 0.5144 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.1259, allocations: 0 / 0.5144 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1259, allocations: 3.938 kB / 0.5144 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.126, allocations: 4 kB / 0.5144 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.448e-05/0.1261, allocations: 7.984 kB / 0.5144 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.1262, allocations: 23.88 kB / 0.5144 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1263, allocations: 3.984 kB / 0.5144 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.1263, allocations: 11.98 kB / 0.5144 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.1264, allocations: 15.92 kB / 0.5145 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1264, allocations: 4 kB / 0.5145 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-06/0.1264, allocations: 0 / 0.5145 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.1265, allocations: 0 / 0.5145 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.1265, allocations: 11.94 kB / 0.5145 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.1266, allocations: 31.83 kB / 0.5145 GB, free: 13.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1266, allocations: 0 / 0.5145 GB, free: 13.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1266, allocations: 0 / 0.5145 GB, free: 13.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1266, allocations: 0 / 0.5145 GB, free: 13.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005643/0.1272, allocations: 327.5 kB / 0.5148 GB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1272, allocations: 12.62 kB / 0.5148 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.519e-05/0.1272, allocations: 192 / 0.5148 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.1273, allocations: 30.75 kB / 0.5149 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.1273, allocations: 4.938 kB / 0.5149 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1275, allocations: 172.3 kB / 0.515 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1275, allocations: 4.375 kB / 0.515 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1275, allocations: 8.312 kB / 0.515 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1276, allocations: 42 kB / 0.5151 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1277, allocations: 3.984 kB / 0.5151 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1277, allocations: 0 / 0.5151 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1277, allocations: 4 kB / 0.5151 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.1277, allocations: 8 kB / 0.5151 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.1282, allocations: 264.8 kB / 0.5154 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1284, allocations: 38.56 kB / 0.5154 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.1284, allocations: 8.922 kB / 0.5154 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1284, allocations: 4 kB / 0.5154 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1285, allocations: 30.56 kB / 0.5154 GB, free: 12.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.326e-06/0.1285, allocations: 4 kB / 0.5154 GB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002076/0.1287, allocations: 57.62 kB / 0.5155 GB, free: 11.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1287, allocations: 51.41 kB / 0.5155 GB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1288, allocations: 101.8 kB / 0.5156 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1288, allocations: 25.7 kB / 0.5157 GB, free: 11.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.1289, allocations: 80.14 kB / 0.5157 GB, free: 11.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1289, allocations: 11.95 kB / 0.5157 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.129, allocations: 17.7 kB / 0.5158 GB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1291, allocations: 314.8 kB / 0.5161 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.1292, allocations: 8 kB / 0.5161 GB, free: 11.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.1292, allocations: 4 kB / 0.5161 GB, free: 11.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.1292, allocations: 28.78 kB / 0.5161 GB, free: 11.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1292, allocations: 0 / 0.5161 GB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.131e-05/0.1293, allocations: 53.53 kB / 0.5162 GB, free: 11.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1293, allocations: 7.984 kB / 0.5162 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1293, allocations: 0 / 0.5162 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1294, allocations: 0 / 0.5162 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.1295, allocations: 8 kB / 0.5162 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1295, allocations: 4 kB / 0.5162 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.1295, allocations: 7.938 kB / 0.5162 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1295, allocations: 0 / 0.5162 GB, free: 11.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 0.0001071/0.1296, allocations: 122.5 kB / 0.5163 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1296, allocations: 0 / 0.5163 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.1298, allocations: 73.11 kB / 0.5164 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1298, allocations: 4.516 kB / 0.5164 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1298, allocations: 4 kB / 0.5164 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1298, allocations: 0 / 0.5164 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.13, allocations: 169.6 kB / 0.5165 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.13, allocations: 0 / 0.5165 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.1301, allocations: 4 kB / 0.5165 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1301, allocations: 7.984 kB / 0.5165 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1301, allocations: 7.922 kB / 0.5166 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1301, allocations: 0 / 0.5166 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1301, allocations: 0 / 0.5166 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.1303, allocations: 163.4 kB / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.1303, allocations: 81.05 kB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1303, allocations: 0 / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1304, allocations: 0 / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.1304, allocations: 8 kB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1304, allocations: 0 / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.805e-05/0.1305, allocations: 83.27 kB / 0.5169 GB, free: 10.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1305, allocations: 0 / 0.5169 GB, free: 10.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1307, allocations: 4 kB / 0.5169 GB, free: 10.39 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 (5): * Single equations (assignments): 5 * 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.0005528/0.1313, allocations: 0.6851 MB / 0.5175 GB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1314, allocations: 28.11 kB / 0.5176 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1314, allocations: 0 / 0.5176 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.1314, allocations: 16 kB / 0.5176 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1317, allocations: 8 kB / 0.5176 GB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1329, allocations: 1.182 MB / 0.5188 GB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1333, allocations: 0.6845 MB / 0.5194 GB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.1333, allocations: 4 kB / 0.5194 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1333, allocations: 15.42 kB / 0.5194 GB, free: 7.637 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1333, allocations: 4 kB / 0.5194 GB, free: 7.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.1509, allocations: 1.313 MB / 0.5207 GB, free: 6.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.523, allocations: 8.359 kB / 0.5207 GB, free: 6.387 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.469068203005008] Failed to read output from testmodel.py, exit status != 0: 8.651302204991225 8.67338515 8.542709779 Calling exit ...