Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.0008491/0.0008491, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.000915/0.000915, allocations: 165.2 kB / 23.23 MB, free: 1.336 MB / 18.57 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 0.9214/0.9214, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.06205/0.06205, allocations: 18.12 MB / 278.1 MB, free: 11.55 MB / 266.7 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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.428e-05, allocations: 2.281 kB / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.00395/0.003975, allocations: 3.623 MB / 418.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.006111, allocations: 1.204 MB / 419.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.006458, allocations: 19.44 kB / 419.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.006762, allocations: 152.1 kB / 420.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007403/0.007503, allocations: 415.9 kB / 420.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.008391, allocations: 294 kB / 420.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.01014, allocations: 2.039 MB / 422.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.01137, allocations: 1.059 MB / 423.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.01244, allocations: 0.7413 MB / 424.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.01353, allocations: 0.7972 MB / 425.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.01391, allocations: 219 kB / 425.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.01423, allocations: 222.8 kB / 425.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.01465, allocations: 0.6662 MB / 426.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.01531, allocations: 0.632 MB / 427.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.01723, allocations: 2.5 MB / 429.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.01723, allocations: 0 / 429.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01724, allocations: 0 / 429.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.01727, allocations: 0 / 429.6 MB, free: 5.152 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002989/0.02026, allocations: 1.827 MB / 431.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.0203, allocations: 9.766 kB / 431.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.02047, allocations: 163.7 kB / 431.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.02068, allocations: 143.8 kB / 431.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.02157, allocations: 0.745 MB / 432.5 MB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.02162, allocations: 76.31 kB / 432.6 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.0218, allocations: 122.2 kB / 432.7 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.02354, allocations: 1.48 MB / 434.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.02355, allocations: 192 / 434.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.02364, allocations: 45.56 kB / 434.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.02367, allocations: 24.03 kB / 434.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.02514, allocations: 1.271 MB / 435.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.03075, allocations: 4.471 MB / 440 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.0335, allocations: 1.767 MB / 441.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.03422, allocations: 0.6871 MB / 442.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.03427, allocations: 9 kB / 442.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.0343, allocations: 45.27 kB / 442.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 2.405e-06/0.0343, allocations: 0 / 442.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.008652/0.04295, allocations: 5.175 MB / 447.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.04299, allocations: 60.41 kB / 447.7 MB, free: 7.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.04362, allocations: 0.6524 MB / 448.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/0.0437, allocations: 45.64 kB / 448.4 MB, free: 7.039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.0439, allocations: 468.9 kB / 448.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.04423, allocations: 436.3 kB / 449.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.0445, allocations: 231.6 kB / 449.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.04463, allocations: 418.7 kB / 449.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.04549, allocations: 0.788 MB / 450.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.04642, allocations: 0.9815 MB / 451.7 MB, free: 3.672 MB / 346.7 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.00748/0.0539, allocations: 4.543 MB / 456.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.05391, allocations: 0 / 456.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003123/0.05703, allocations: 2.529 MB / 458.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.05705, allocations: 8 kB / 458.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.05706, allocations: 4 kB / 458.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.05832, allocations: 0.6644 MB / 459.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.05912, allocations: 365.1 kB / 459.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.07002, allocations: 18.65 MB / 478.5 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.07087, allocations: 79.94 kB / 478.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.07097, allocations: 47.98 kB / 478.6 MB, free: 7.223 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007189/0.07169, allocations: 397.4 kB / 479 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.07187, allocations: 91.44 kB / 479.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.07459, allocations: 2.101 MB / 481.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.0746, allocations: 12 kB / 481.2 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.07461, allocations: 7.984 kB / 481.2 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.07461, allocations: 3.984 kB / 481.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.07919, allocations: 3.638 MB / 484.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.0792, allocations: 4 kB / 484.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.08022, allocations: 323.7 kB / 485.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009488/0.08117, allocations: 0.5409 MB / 485.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.08128, allocations: 63.95 kB / 485.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008562/0.08985, allocations: 17.2 MB / 0.4912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.08985, allocations: 0 / 0.4912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/0.09345, allocations: 2.755 MB / 0.4939 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.09366, allocations: 103.3 kB / 0.494 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.09379, allocations: 63.91 kB / 0.494 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.0942, allocations: 55.94 kB / 0.4941 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.09443, allocations: 100.7 kB / 0.4942 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.09448, allocations: 35.97 kB / 0.4942 GB, free: 10.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004114/0.0949, allocations: 455.1 kB / 0.4946 GB, free: 9.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0949, allocations: 7.875 kB / 0.4946 GB, free: 9.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001178/0.09607, allocations: 432 kB / 0.4951 GB, free: 9.266 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003332/0.09941, allocations: 3.362 MB / 0.4983 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.1024, allocations: 3.103 MB / 0.5014 GB, free: 2.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1024, allocations: 1.062 kB / 0.5014 GB, free: 2.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.104, allocations: 2.212 MB / 0.5035 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.1047, allocations: 287.8 kB / 0.5038 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.1213, allocations: 14.47 MB / 0.5179 GB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.1218, allocations: 0.6402 MB / 0.5186 GB, free: 496 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006085/0.1224, allocations: 355.3 kB / 0.5189 GB, free: 136 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.1229, allocations: 432.4 kB / 0.5193 GB, free: 15.71 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1229, allocations: 0 / 0.5193 GB, free: 15.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06487/0.1878, allocations: 37.96 MB / 0.5564 GB, free: 10.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.448, allocations: 7.922 kB / 0.5564 GB, free: 10.14 MB / 474.7 MB " [Timeout remaining time 650] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_005_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.72357802093029] Failed to read output from testmodel.py, exit status != 0: 9.551665089093149 9.561575873 9.542274246 Calling exit ...