Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_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.001594/0.001594, allocations: 116.1 kB / 17.17 MB, free: 6 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.001993/0.001993, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.09886/0.09886, allocations: 22.93 MB / 332.5 MB, free: 2.645 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_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.002025/0.002025, allocations: 68.12 kB / 466.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1006, allocations: 59.26 MB / 0.5137 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.004303/0.1049, allocations: 2.646 MB / 0.5163 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1068, allocations: 0.8494 MB / 0.5171 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.107, allocations: 7.938 kB / 0.5171 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1072, allocations: 51.5 kB / 0.5172 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.1076, allocations: 131.1 kB / 0.5173 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.1081, allocations: 123.7 kB / 0.5174 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00066/0.1087, allocations: 486.8 kB / 0.5179 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.1092, allocations: 292.5 kB / 0.5181 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.1096, allocations: 227.2 kB / 0.5184 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.1102, allocations: 311 kB / 0.5187 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.1103, allocations: 52 kB / 0.5187 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1105, allocations: 83.97 kB / 0.5188 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1107, allocations: 163.6 kB / 0.5189 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.111, allocations: 238.9 kB / 0.5192 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.1117, allocations: 0.5721 MB / 0.5197 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1117, allocations: 0 / 0.5197 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1117, allocations: 4 kB / 0.5197 GB, free: 7.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.1118, allocations: 0 / 0.5197 GB, free: 7.789 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001885/0.1136, allocations: 0.7477 MB / 0.5205 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1137, allocations: 8.625 kB / 0.5205 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.473e-05/0.1137, allocations: 8.844 kB / 0.5205 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.1138, allocations: 78.64 kB / 0.5206 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1139, allocations: 40.7 kB / 0.5206 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1144, allocations: 334.7 kB / 0.5209 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.1145, allocations: 24.97 kB / 0.5209 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.1146, allocations: 36.38 kB / 0.521 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.1154, allocations: 421.8 kB / 0.5214 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1154, allocations: 0 / 0.5214 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.1155, allocations: 16 kB / 0.5214 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1155, allocations: 8 kB / 0.5214 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.1163, allocations: 398.4 kB / 0.5218 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1192, allocations: 1.314 MB / 0.5231 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.1199, allocations: 286.6 kB / 0.5233 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.1203, allocations: 200.8 kB / 0.5235 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.1203, allocations: 4 kB / 0.5235 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1204, allocations: 38.55 kB / 0.5236 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004521/0.1208, allocations: 75.75 kB / 0.5236 GB, free: 3.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.434e-06/0.1208, allocations: 0 / 0.5236 GB, free: 3.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005771/0.1266, allocations: 1.603 MB / 0.5252 GB, free: 1.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1267, allocations: 59.27 kB / 0.5253 GB, free: 1.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.1271, allocations: 320.5 kB / 0.5256 GB, free: 1.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.1271, allocations: 37.64 kB / 0.5256 GB, free: 1.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1273, allocations: 208.5 kB / 0.5258 GB, free: 1.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1274, allocations: 134.9 kB / 0.5259 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.1276, allocations: 86.05 kB / 0.526 GB, free: 1.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1278, allocations: 346.7 kB / 0.5263 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.1282, allocations: 192.8 kB / 0.5265 GB, free: 0.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.1288, allocations: 249.8 kB / 0.5268 GB, free: 288 kB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.139, allocations: 1.804 MB / 0.5285 GB, free: 14.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.139, allocations: 0 / 0.5285 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001971/0.1409, allocations: 0.6427 MB / 0.5292 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.141, allocations: 8.094 kB / 0.5292 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.141, allocations: 4 kB / 0.5292 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.1424, allocations: 201.5 kB / 0.5294 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.143, allocations: 107.8 kB / 0.5295 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1442, allocations: 1.167 MB / 0.5306 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.1446, allocations: 24.14 kB / 0.5306 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.1447, allocations: 15.98 kB / 0.5306 GB, free: 12.23 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.1449, allocations: 174.5 kB / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.145, allocations: 39.7 kB / 0.5308 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.1469, allocations: 0.6433 MB / 0.5315 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1469, allocations: 4 kB / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1469, allocations: 0 / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1469, allocations: 3.938 kB / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.1493, allocations: 1.18 MB / 0.5326 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1493, allocations: 3.938 kB / 0.5326 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.1498, allocations: 83.89 kB / 0.5327 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009676/0.1508, allocations: 169.6 kB / 0.5329 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.1509, allocations: 19.98 kB / 0.5329 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009931/0.1519, allocations: 1.163 MB / 0.534 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1519, allocations: 0 / 0.534 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.1539, allocations: 0.8943 MB / 0.5349 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.154, allocations: 116.9 kB / 0.535 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.1541, allocations: 11.98 kB / 0.535 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.1544, allocations: 12 kB / 0.535 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1545, allocations: 31.95 kB / 0.5351 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1546, allocations: 11.98 kB / 0.5351 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.1548, allocations: 227.1 kB / 0.5353 GB, free: 7.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1548, allocations: 4 kB / 0.5353 GB, free: 7.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.1553, allocations: 108 kB / 0.5354 GB, free: 7.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002424/0.1577, allocations: 1.458 MB / 0.5368 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1591, allocations: 483.9 kB / 0.5373 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1591, allocations: 0 / 0.5373 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007385/0.1598, allocations: 263.7 kB / 0.5375 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.1604, allocations: 85.78 kB / 0.5376 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/0.1687, allocations: 4.464 MB / 0.542 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.1692, allocations: 0.8158 MB / 0.5428 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003447/0.1696, allocations: 79.27 kB / 0.5429 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.1699, allocations: 139.4 kB / 0.543 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1699, allocations: 0 / 0.543 GB, free: 15.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.2058, allocations: 10.79 MB / 0.5535 GB, free: 4.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.07, allocations: 8.969 kB / 0.5535 GB, free: 4.566 MB / 414.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.023864685033914] Failed to read output from testmodel.py, exit status != 0: 13.226913436024915 13.249753631 13.133828588 Calling exit ...