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.001587/0.001587, allocations: 110.9 kB / 16.46 MB, free: 6.035 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.001812/0.001812, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.09709/0.09709, allocations: 22.7 MB / 325.4 MB, free: 3.539 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.001886/0.001886, allocations: 67.89 kB / 457.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 58.02 MB / 0.5031 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003952/0.1107, allocations: 2.636 MB / 0.5057 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1121, allocations: 0.8104 MB / 0.5065 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1122, allocations: 4 kB / 0.5065 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1124, allocations: 51.5 kB / 0.5065 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1128, allocations: 135.1 kB / 0.5067 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1131, allocations: 135.7 kB / 0.5068 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.1137, allocations: 474.8 kB / 0.5072 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.1141, allocations: 300.4 kB / 0.5075 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1144, allocations: 227.3 kB / 0.5077 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.1148, allocations: 307 kB / 0.508 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.1149, allocations: 48 kB / 0.5081 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.115, allocations: 79.97 kB / 0.5082 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.1152, allocations: 155.5 kB / 0.5083 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.1154, allocations: 239 kB / 0.5085 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.1161, allocations: 0.5799 MB / 0.5091 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1161, allocations: 0 / 0.5091 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1161, allocations: 4 kB / 0.5091 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1161, allocations: 0 / 0.5091 GB, free: 1.457 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.001552/0.1176, allocations: 0.7361 MB / 0.5098 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1177, allocations: 16.02 kB / 0.5098 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.636e-05/0.1178, allocations: 62.73 kB / 0.5099 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.1179, allocations: 44.66 kB / 0.5099 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1183, allocations: 338.7 kB / 0.5103 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1183, allocations: 21.03 kB / 0.5103 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.1184, allocations: 36.38 kB / 0.5103 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1972/0.3156, allocations: 419.2 kB / 0.5107 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3156, allocations: 0 / 0.5107 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.3157, allocations: 11.84 kB / 0.5107 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3157, allocations: 8.688 kB / 0.5107 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.3164, allocations: 404.2 kB / 0.5111 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.3187, allocations: 1.311 MB / 0.5124 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.3191, allocations: 288 kB / 0.5127 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.3194, allocations: 199.9 kB / 0.5129 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3195, allocations: 9.203 kB / 0.5129 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3195, allocations: 37.59 kB / 0.5129 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003883/0.3199, allocations: 72.17 kB / 0.513 GB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.3199, allocations: 0 / 0.513 GB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.004491/0.3244, allocations: 1.62 MB / 0.5146 GB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.3244, allocations: 54.66 kB / 0.5146 GB, free: 14.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3247, allocations: 325.4 kB / 0.5149 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3247, allocations: 31.08 kB / 0.515 GB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3248, allocations: 202.3 kB / 0.5152 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.3248, allocations: 129.3 kB / 0.5153 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.325, allocations: 85.62 kB / 0.5154 GB, free: 14.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.325, allocations: 355.6 kB / 0.5157 GB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.3254, allocations: 191 kB / 0.5159 GB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3258, allocations: 248.1 kB / 0.5161 GB, free: 13.8 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.00881/0.3346, allocations: 1.799 MB / 0.5179 GB, free: 13.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3346, allocations: 0 / 0.5179 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001568/0.3362, allocations: 0.6501 MB / 0.5185 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3362, allocations: 5.719 kB / 0.5185 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3362, allocations: 4.828 kB / 0.5185 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.3374, allocations: 204.7 kB / 0.5187 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.338, allocations: 106.3 kB / 0.5188 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007396/0.3387, allocations: 1.172 MB / 0.52 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.3391, allocations: 16.14 kB / 0.52 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.3391, allocations: 21.17 kB / 0.52 GB, free: 11.98 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.0002517/0.3394, allocations: 172.6 kB / 0.5202 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.3394, allocations: 41.3 kB / 0.5202 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.3411, allocations: 0.6428 MB / 0.5208 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3411, allocations: 11.38 kB / 0.5208 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3411, allocations: 4.641 kB / 0.5208 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3411, allocations: 2.109 kB / 0.5208 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.343, allocations: 1.172 MB / 0.522 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.343, allocations: 3.625 kB / 0.522 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.3435, allocations: 87.22 kB / 0.5221 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008061/0.3443, allocations: 167.8 kB / 0.5222 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.3443, allocations: 15.06 kB / 0.5222 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005248/0.3448, allocations: 1.159 MB / 0.5234 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3448, allocations: 0 / 0.5234 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3463, allocations: 0.8955 MB / 0.5243 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.3464, allocations: 121.4 kB / 0.5244 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.3465, allocations: 17.91 kB / 0.5244 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3467, allocations: 9.25 kB / 0.5244 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.3468, allocations: 33.34 kB / 0.5244 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3468, allocations: 13.09 kB / 0.5244 GB, free: 9.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.347, allocations: 232.2 kB / 0.5247 GB, free: 9.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.347, allocations: 0 / 0.5247 GB, free: 9.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3475, allocations: 108.3 kB / 0.5248 GB, free: 8.996 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.00181/0.3493, allocations: 1.445 MB / 0.5262 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3504, allocations: 485.7 kB / 0.5266 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3504, allocations: 4.25 kB / 0.5266 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.351, allocations: 269.9 kB / 0.5269 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.3514, allocations: 92.08 kB / 0.527 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006208/0.3577, allocations: 4.454 MB / 0.5313 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3579, allocations: 0.8117 MB / 0.5321 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.3582, allocations: 79.61 kB / 0.5322 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.3584, allocations: 147.3 kB / 0.5323 GB, free: 4.344 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3584, allocations: 0.9062 kB / 0.5323 GB, free: 4.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.3949, allocations: 10.77 MB / 0.5429 GB, free: 8 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.1, allocations: 8.953 kB / 0.5429 GB, free: 4 kB / 382.1 MB " [Timeout remaining time 648] (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: 14.594833102077246] Failed to read output from testmodel.py, exit status != 0: 12.190140972845256 12.206569102 12.087210479 Calling exit ...