Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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.001315/0.001315, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001353/0.001353, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.399/1.399, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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.09505/0.09505, allocations: 22.69 MB / 325.4 MB, free: 7.906 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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.48 kB / 457.2 MB, free: 41.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1093, allocations: 58.04 MB / 0.5031 GB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.002632/0.1119, allocations: 2.423 MB / 0.5055 GB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.1129, allocations: 0.7448 MB / 0.5062 GB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.113, allocations: 0 / 0.5062 GB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1132, allocations: 51.5 kB / 0.5063 GB, free: 5.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1134, allocations: 135.1 kB / 0.5064 GB, free: 4.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.1138, allocations: 147.7 kB / 0.5065 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.1142, allocations: 0.5736 MB / 0.5071 GB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.1145, allocations: 300.9 kB / 0.5074 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1148, allocations: 259.2 kB / 0.5076 GB, free: 3.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.1151, allocations: 367 kB / 0.508 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.1152, allocations: 68 kB / 0.508 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.1153, allocations: 60 kB / 0.5081 GB, free: 3.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1154, allocations: 183.5 kB / 0.5083 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.1156, allocations: 278.9 kB / 0.5085 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.1161, allocations: 0.6423 MB / 0.5092 GB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1161, allocations: 8 kB / 0.5092 GB, free: 2.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1161, allocations: 0 / 0.5092 GB, free: 2.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1161, allocations: 0 / 0.5092 GB, free: 2.098 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001582/0.1177, allocations: 0.7907 MB / 0.5099 GB, free: 1.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1177, allocations: 8.031 kB / 0.51 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.1178, allocations: 70.66 kB / 0.51 GB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.1179, allocations: 48.64 kB / 0.5101 GB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1182, allocations: 359.6 kB / 0.5104 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1183, allocations: 21.03 kB / 0.5104 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.1183, allocations: 40.31 kB / 0.5105 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.119, allocations: 497.8 kB / 0.5109 GB, free: 184 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.119, allocations: 0 / 0.5109 GB, free: 184 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.119, allocations: 12 kB / 0.511 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.119, allocations: 8 kB / 0.511 GB, free: 164 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/0.12, allocations: 0.5452 MB / 0.5115 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.1227, allocations: 1.319 MB / 0.5128 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.1234, allocations: 387.9 kB / 0.5131 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.1239, allocations: 236.7 kB / 0.5134 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.1239, allocations: 11.98 kB / 0.5134 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.124, allocations: 54.42 kB / 0.5134 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000309/0.1243, allocations: 67.7 kB / 0.5135 GB, free: 13.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.453e-06/0.1243, allocations: 0 / 0.5135 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003384/0.1276, allocations: 1.498 MB / 0.515 GB, free: 11.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1277, allocations: 55.41 kB / 0.515 GB, free: 11.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.1281, allocations: 352.4 kB / 0.5154 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.1281, allocations: 33.7 kB / 0.5154 GB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1283, allocations: 208.4 kB / 0.5156 GB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1284, allocations: 166.6 kB / 0.5157 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.1286, allocations: 114.3 kB / 0.5159 GB, free: 10.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1288, allocations: 350.8 kB / 0.5162 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.1292, allocations: 249.2 kB / 0.5164 GB, free: 10.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.1298, allocations: 362.1 kB / 0.5168 GB, free: 9.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009702/0.1395, allocations: 2.401 MB / 0.5191 GB, free: 7.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.1395, allocations: 0 / 0.5191 GB, free: 7.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001401/0.1409, allocations: 0.7094 MB / 0.5198 GB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.1409, allocations: 11.98 kB / 0.5198 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1409, allocations: 4 kB / 0.5198 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1409, allocations: 4 kB / 0.5198 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.1426, allocations: 295.9 kB / 0.5201 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.1451, allocations: 2.853 MB / 0.5229 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.1455, allocations: 27.97 kB / 0.5229 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.1456, allocations: 23.98 kB / 0.5229 GB, free: 3.312 MB / 382.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.str1.w = 0.0 $DER.str2.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.1459, allocations: 182.4 kB / 0.5231 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.146, allocations: 35.77 kB / 0.5232 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.1473, allocations: 0.6138 MB / 0.5238 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1473, allocations: 8 kB / 0.5238 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1473, allocations: 0 / 0.5238 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1473, allocations: 3.984 kB / 0.5238 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.1493, allocations: 1.206 MB / 0.5249 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1493, allocations: 8 kB / 0.525 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.1508, allocations: 243.7 kB / 0.5252 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1508, allocations: 11.88 kB / 0.5252 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.1508, allocations: 15.98 kB / 0.5252 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.1532, allocations: 2.849 MB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1532, allocations: 4.062 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.1548, allocations: 0.8826 MB / 0.5289 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1549, allocations: 112.9 kB / 0.529 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.1549, allocations: 12 kB / 0.529 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.1553, allocations: 19.97 kB / 0.529 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1554, allocations: 40.38 kB / 0.529 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.1554, allocations: 16 kB / 0.529 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002776/0.1557, allocations: 255 kB / 0.5293 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1557, allocations: 0 / 0.5293 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.1562, allocations: 144 kB / 0.5294 GB, free: 12.29 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001819/0.158, allocations: 1.446 MB / 0.5308 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.1596, allocations: 0.5796 MB / 0.5314 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1596, allocations: 0 / 0.5314 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.1604, allocations: 307 kB / 0.5317 GB, free: 9.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.1609, allocations: 104 kB / 0.5318 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.1692, allocations: 5.357 MB / 0.537 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.1697, allocations: 0.8235 MB / 0.5378 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.17, allocations: 119.4 kB / 0.5379 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.1703, allocations: 151.4 kB / 0.5381 GB, free: 3.199 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1703, allocations: 0 / 0.5381 GB, free: 3.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.2097, allocations: 11.77 MB / 0.5496 GB, free: 7.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.96, allocations: 17.02 kB / 0.5496 GB, free: 7.582 MB / 414.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.869958003982902] Failed to read output from testmodel.py, exit status != 0: 12.057160817086697 12.072263223 11.953248465 Calling exit ...