Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001603/0.001603, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001988/0.001988, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.518/1.518, 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.101/0.101, allocations: 22.93 MB / 332.5 MB, free: 2.641 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.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",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.002183/0.002183, allocations: 59.22 kB / 464.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 59.27 MB / 0.5116 GB, free: 172 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.0032/0.1195, allocations: 1.485 MB / 0.513 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1207, allocations: 0.5377 MB / 0.5136 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.1207, allocations: 0 / 0.5136 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1211, allocations: 19.86 kB / 0.5136 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1212, allocations: 27.83 kB / 0.5136 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1214, allocations: 51.88 kB / 0.5137 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1216, allocations: 123.8 kB / 0.5138 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.1217, allocations: 8 kB / 0.5138 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1219, allocations: 55.77 kB / 0.5138 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.122, allocations: 67.78 kB / 0.5139 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.1221, allocations: 8 kB / 0.5139 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.1221, allocations: 8 kB / 0.5139 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.1221, allocations: 27.91 kB / 0.5139 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.1222, allocations: 39.78 kB / 0.514 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1223, allocations: 83.59 kB / 0.5141 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1223, allocations: 0 / 0.5141 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1223, allocations: 0 / 0.5141 GB, free: 13.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1224, allocations: 0 / 0.5141 GB, free: 13.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009837/0.1233, allocations: 446.9 kB / 0.5145 GB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1234, allocations: 12.56 kB / 0.5145 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.892e-05/0.1234, allocations: 4.188 kB / 0.5145 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.1235, allocations: 42.69 kB / 0.5145 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1235, allocations: 12.89 kB / 0.5146 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.124, allocations: 243.6 kB / 0.5148 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.124, allocations: 8.375 kB / 0.5148 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.124, allocations: 8.312 kB / 0.5148 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1242, allocations: 77.55 kB / 0.5149 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1242, allocations: 3.984 kB / 0.5149 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1242, allocations: 4 kB / 0.5149 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1242, allocations: 0 / 0.5149 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1244, allocations: 55.91 kB / 0.5149 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.1251, allocations: 388.5 kB / 0.5153 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1253, allocations: 82.55 kB / 0.5154 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.1253, allocations: 40.83 kB / 0.5154 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1254, allocations: 0 / 0.5154 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1254, allocations: 38.56 kB / 0.5155 GB, free: 12.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1254, allocations: 4 kB / 0.5155 GB, free: 12 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001371/0.1268, allocations: 0.537 MB / 0.516 GB, free: 11.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1268, allocations: 51.41 kB / 0.516 GB, free: 11.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1272, allocations: 190.4 kB / 0.5162 GB, free: 11.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1272, allocations: 29.7 kB / 0.5162 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1273, allocations: 108 kB / 0.5164 GB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.1273, allocations: 39.83 kB / 0.5164 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.1274, allocations: 21.72 kB / 0.5164 GB, free: 10.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1275, allocations: 334.8 kB / 0.5167 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.1276, allocations: 39.97 kB / 0.5168 GB, free: 10.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.1277, allocations: 43.97 kB / 0.5168 GB, free: 10.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1279, allocations: 108.8 kB / 0.5169 GB, free: 10.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1279, allocations: 0 / 0.5169 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002352/0.1281, allocations: 137.6 kB / 0.517 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1281, allocations: 8 kB / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1281, allocations: 0 / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1281, allocations: 0 / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1284, allocations: 35.98 kB / 0.5171 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1284, allocations: 4.031 kB / 0.5171 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1285, allocations: 23.84 kB / 0.5171 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1285, allocations: 4 kB / 0.5171 GB, free: 10.2 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 (12): * Single equations (assignments): 12 * 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.0001248/0.1287, allocations: 126.6 kB / 0.5172 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.1287, allocations: 11.91 kB / 0.5172 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.1288, allocations: 20.7 kB / 0.5173 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1288, allocations: 0 / 0.5173 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1288, allocations: 4 kB / 0.5173 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1288, allocations: 3.938 kB / 0.5173 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.1295, allocations: 479.2 kB / 0.5177 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1295, allocations: 3.938 kB / 0.5177 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.1297, allocations: 31.97 kB / 0.5178 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1297, allocations: 0 / 0.5178 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1298, allocations: 7.938 kB / 0.5178 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1298, allocations: 8.031 kB / 0.5178 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1298, allocations: 0 / 0.5178 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.1302, allocations: 292.2 kB / 0.5181 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.1302, allocations: 89.08 kB / 0.5181 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1303, allocations: 11.94 kB / 0.5182 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1304, allocations: 11.98 kB / 0.5182 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.1305, allocations: 12.05 kB / 0.5182 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1305, allocations: 0 / 0.5182 GB, free: 9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003055/0.1308, allocations: 154.5 kB / 0.5183 GB, free: 8.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1308, allocations: 0 / 0.5183 GB, free: 8.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.131, allocations: 20 kB / 0.5183 GB, free: 8.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 ($outputAlias_y,Pr.x_scaled[2]) * 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 (10): * Single equations (assignments): 10 * 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.0007363/0.1318, allocations: 0.8342 MB / 0.5192 GB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.132, allocations: 99.92 kB / 0.5193 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.132, allocations: 0 / 0.5193 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.1321, allocations: 51.91 kB / 0.5193 GB, free: 7.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1324, allocations: 20.84 kB / 0.5193 GB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.1354, allocations: 1.92 MB / 0.5212 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1358, allocations: 0.7119 MB / 0.5219 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.043e-05/0.1359, allocations: 20.55 kB / 0.5219 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.1359, allocations: 31.42 kB / 0.5219 GB, free: 5 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1359, allocations: 0 / 0.5219 GB, free: 5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.1565, allocations: 2.82 MB / 0.5247 GB, free: 2.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/8.512, allocations: 9.922 kB / 0.5247 GB, free: 2.246 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.335584231012035] Failed to read output from testmodel.py, exit status != 0: 8.638872706040274 8.655448699 8.529620206 Calling exit ...