Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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.0008332/0.0008332, 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.000879/0.000879, allocations: 173.2 kB / 23.23 MB, free: 1.332 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.9198/0.9198, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.06135/0.06135, allocations: 18.13 MB / 278.1 MB, free: 11.52 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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.681e-05, allocations: 2.281 kB / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.003602/0.003628, allocations: 3.577 MB / 418.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.005135, allocations: 1.166 MB / 419.8 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.005322, allocations: 27.59 kB / 419.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.005593, allocations: 147.9 kB / 420 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.006036, allocations: 405.4 kB / 420.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.006629, allocations: 285.6 kB / 420.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.007902, allocations: 1.996 MB / 422.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.008973, allocations: 1.044 MB / 423.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.009759, allocations: 0.7456 MB / 424.5 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.0106, allocations: 0.7771 MB / 425.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.01082, allocations: 215.8 kB / 425.4 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.01108, allocations: 216.3 kB / 425.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.01151, allocations: 0.6607 MB / 426.3 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.01204, allocations: 0.624 MB / 426.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.01414, allocations: 2.467 MB / 429.4 MB, free: 5.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01414, allocations: 0 / 429.4 MB, free: 5.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01414, allocations: 5.469 kB / 429.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.924e-05/0.01418, allocations: 0 / 429.4 MB, free: 5.293 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002749/0.01693, allocations: 1.797 MB / 431.2 MB, free: 4.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.01698, allocations: 10.17 kB / 431.2 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.01714, allocations: 160.1 kB / 431.4 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.01735, allocations: 137.8 kB / 431.5 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.01826, allocations: 0.7278 MB / 432.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.01831, allocations: 80.03 kB / 432.3 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.01848, allocations: 122.1 kB / 432.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.02026, allocations: 1.442 MB / 433.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.868e-05/0.02028, allocations: 2.219 kB / 433.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.02036, allocations: 48.09 kB / 433.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.02038, allocations: 23.91 kB / 433.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.02199, allocations: 1.258 MB / 435.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/0.02806, allocations: 4.434 MB / 439.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.03072, allocations: 1.751 MB / 441.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/0.03153, allocations: 0.6831 MB / 442.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.03158, allocations: 12.98 kB / 442.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.03162, allocations: 43.56 kB / 442.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=95): time 3.737e-06/0.03162, allocations: 0 / 442.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=98): time 0.006176/0.0378, allocations: 4.304 MB / 446.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.03784, allocations: 60.41 kB / 446.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.03849, allocations: 0.6162 MB / 447.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.03857, allocations: 41.7 kB / 447.1 MB, free: 8.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.0388, allocations: 452.8 kB / 447.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.03913, allocations: 404.6 kB / 448 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.03942, allocations: 227.2 kB / 448.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.03955, allocations: 402.7 kB / 448.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008559/0.04041, allocations: 0.7493 MB / 449.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.04132, allocations: 0.9523 MB / 450.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.04317, allocations: 1.784 MB / 452.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.04317, allocations: 4 kB / 452.1 MB, free: 3.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002629/0.0458, allocations: 2.246 MB / 454.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.04583, allocations: 8 kB / 454.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.04584, allocations: 7.984 kB / 454.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007454/0.04658, allocations: 408.3 kB / 454.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/0.04757, allocations: 403.4 kB / 455.1 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007883/0.05545, allocations: 14.68 MB / 469.8 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.05658, allocations: 76.19 kB / 469.9 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.0567, allocations: 43.98 kB / 469.9 MB, free: 132 kB / 362.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: 20 * 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 (150): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007297/0.05743, allocations: 399.1 kB / 470.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.05757, allocations: 91.38 kB / 470.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.0601, allocations: 1.814 MB / 472.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.0601, allocations: 8 kB / 472.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.06011, allocations: 4 kB / 472.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.06012, allocations: 3.984 kB / 472.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.06425, allocations: 3.319 MB / 475.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.06425, allocations: 96 / 475.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.06538, allocations: 359.6 kB / 475.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.06593, allocations: 340.3 kB / 476.3 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.06607, allocations: 63.97 kB / 476.3 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/0.07348, allocations: 13.81 MB / 490.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.07349, allocations: 3.938 kB / 490.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.07688, allocations: 2.495 MB / 492.6 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.07726, allocations: 99.39 kB / 492.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.07778, allocations: 59.97 kB / 492.8 MB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.07822, allocations: 51.94 kB / 492.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.07844, allocations: 88.83 kB / 492.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.0785, allocations: 27.98 kB / 492.9 MB, free: 7.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004197/0.07892, allocations: 430.8 kB / 493.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.07892, allocations: 0 / 493.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001334/0.08025, allocations: 399.9 kB / 493.8 MB, free: 6.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003192/0.08344, allocations: 3.107 MB / 496.9 MB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.08603, allocations: 2.719 MB / 499.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.08603, allocations: 4 kB / 499.6 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.08757, allocations: 1.849 MB / 0.4897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.0884, allocations: 296.1 kB / 0.49 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.1064, allocations: 14.1 MB / 0.5037 GB, free: 240 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.1069, allocations: 0.5987 MB / 0.5043 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007322/0.1077, allocations: 359 kB / 0.5047 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/0.1083, allocations: 412.4 kB / 0.505 GB, free: 14.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1083, allocations: 0 / 0.505 GB, free: 14.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/0.1718, allocations: 34.5 MB / 0.5387 GB, free: 12.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.376, allocations: 8 kB / 0.5387 GB, free: 12.72 MB / 458.7 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.618870553560555] Failed to read output from testmodel.py, exit status != 0: 8.472542361356318 8.478622691 8.462866911 Calling exit ...