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.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.001272/0.001272, allocations: 106.5 kB / 16.4 MB, free: 6.492 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.001259/0.001259, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.411/1.411, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.1045/0.1045, allocations: 22.33 MB / 319.6 MB, free: 6.797 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_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 63.91 kB / 445.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1371, allocations: 54.95 MB / 0.4885 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.004335/0.1415, allocations: 2.628 MB / 0.4911 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1433, allocations: 0.8026 MB / 0.4918 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1435, allocations: 4 kB / 0.4919 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1437, allocations: 51.5 kB / 0.4919 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1442, allocations: 123.1 kB / 0.492 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1447, allocations: 139.6 kB / 0.4921 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006224/0.1453, allocations: 478.9 kB / 0.4926 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.1458, allocations: 336.4 kB / 0.4929 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.1461, allocations: 215.3 kB / 0.4931 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.1466, allocations: 291.1 kB / 0.4934 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.565e-05/0.1467, allocations: 48 kB / 0.4935 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1469, allocations: 83.95 kB / 0.4935 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1471, allocations: 151.5 kB / 0.4937 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.1474, allocations: 246.9 kB / 0.4939 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.1481, allocations: 0.5643 MB / 0.4945 GB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.1481, allocations: 0 / 0.4945 GB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1481, allocations: 0 / 0.4945 GB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1481, allocations: 0 / 0.4945 GB, free: 11.5 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.001753/0.1499, allocations: 0.7556 MB / 0.4952 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.15, allocations: 16.03 kB / 0.4952 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.1501, allocations: 66.72 kB / 0.4953 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1502, allocations: 48.66 kB / 0.4953 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.1507, allocations: 330.7 kB / 0.4956 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.1507, allocations: 21.03 kB / 0.4957 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.1508, allocations: 32.38 kB / 0.4957 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.1516, allocations: 410 kB / 0.4961 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1517, allocations: 3.984 kB / 0.4961 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.1517, allocations: 12 kB / 0.4961 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1517, allocations: 8 kB / 0.4961 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007614/0.1525, allocations: 390.3 kB / 0.4965 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.1553, allocations: 1.325 MB / 0.4978 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.1559, allocations: 306.6 kB / 0.4981 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.1563, allocations: 205.3 kB / 0.4983 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1563, allocations: 12.06 kB / 0.4983 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.1564, allocations: 38.5 kB / 0.4983 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000314/0.1567, allocations: 55.81 kB / 0.4984 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.1567, allocations: 0 / 0.4984 GB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005442/0.1621, allocations: 1.617 MB / 0.4999 GB, free: 5.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.1622, allocations: 55.41 kB / 0.5 GB, free: 5.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.1626, allocations: 320.5 kB / 0.5003 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.1627, allocations: 29.7 kB / 0.5003 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1629, allocations: 208.5 kB / 0.5005 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.163, allocations: 126.9 kB / 0.5007 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.1632, allocations: 90.06 kB / 0.5007 GB, free: 4.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1634, allocations: 350.7 kB / 0.5011 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.1638, allocations: 192.8 kB / 0.5013 GB, free: 4.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.1643, allocations: 245.8 kB / 0.5015 GB, free: 4 MB / 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.009204/0.1735, allocations: 1.751 MB / 0.5032 GB, free: 2.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1735, allocations: 4 kB / 0.5032 GB, free: 2.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001781/0.1753, allocations: 0.6476 MB / 0.5038 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1754, allocations: 12 kB / 0.5038 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1754, allocations: 0 / 0.5038 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.1767, allocations: 201.5 kB / 0.504 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.1773, allocations: 107.9 kB / 0.5041 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1783, allocations: 1.167 MB / 0.5053 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.1787, allocations: 20.05 kB / 0.5053 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2169/0.3956, allocations: 16.61 kB / 0.5053 GB, free: 21.29 MB / 382.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.0003519/0.396, allocations: 165.3 kB / 0.5055 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3961, allocations: 34 kB / 0.5055 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.3979, allocations: 0.6565 MB / 0.5062 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.3979, allocations: 4.25 kB / 0.5062 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3979, allocations: 3.469 kB / 0.5062 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3979, allocations: 1.125 kB / 0.5062 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.4001, allocations: 1.18 MB / 0.5073 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4001, allocations: 0 / 0.5073 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.4006, allocations: 89.7 kB / 0.5074 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008698/0.4015, allocations: 169.4 kB / 0.5076 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.4015, allocations: 14.33 kB / 0.5076 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006111/0.4022, allocations: 1.162 MB / 0.5087 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4022, allocations: 2.375 kB / 0.5087 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.4039, allocations: 0.9026 MB / 0.5096 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.404, allocations: 117.7 kB / 0.5097 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.4041, allocations: 10.69 kB / 0.5097 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.4044, allocations: 15.83 kB / 0.5097 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.4045, allocations: 30.25 kB / 0.5098 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4045, allocations: 14.39 kB / 0.5098 GB, free: 19.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4048, allocations: 230 kB / 0.51 GB, free: 19.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4048, allocations: 0 / 0.51 GB, free: 19.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.4052, allocations: 108.1 kB / 0.5101 GB, free: 19.38 MB / 382.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.001891/0.4071, allocations: 1.452 MB / 0.5115 GB, free: 18.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.4084, allocations: 0.5049 MB / 0.512 GB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4084, allocations: 0 / 0.512 GB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.4091, allocations: 285.8 kB / 0.5123 GB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.4097, allocations: 95.92 kB / 0.5124 GB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/0.4169, allocations: 4.443 MB / 0.5167 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.4173, allocations: 0.8097 MB / 0.5175 GB, free: 16.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000377/0.4176, allocations: 76.09 kB / 0.5176 GB, free: 16.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.4179, allocations: 144.3 kB / 0.5177 GB, free: 16.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4179, allocations: 1.375 kB / 0.5177 GB, free: 16.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.4616, allocations: 10.71 MB / 0.5282 GB, free: 13.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.66, allocations: 12.52 kB / 0.5282 GB, free: 13.55 MB / 382.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_001_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 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: 15.410811846028082] Failed to read output from testmodel.py, exit status != 0: 12.757497266982682 12.775713458 12.624318347 Calling exit ...