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.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.001619/0.001619, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001973/0.001973, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1031/0.1031, allocations: 22.94 MB / 332.5 MB, free: 2.645 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.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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 65.38 kB / 466.7 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 59.28 MB / 0.5137 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003699/0.1156, allocations: 2.431 MB / 0.5161 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1173, allocations: 0.7915 MB / 0.5168 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1174, allocations: 7.875 kB / 0.5168 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1176, allocations: 43.58 kB / 0.5169 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.1179, allocations: 139 kB / 0.517 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1184, allocations: 143.7 kB / 0.5172 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006995/0.1191, allocations: 0.5736 MB / 0.5177 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.1196, allocations: 293 kB / 0.518 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.12, allocations: 263.3 kB / 0.5183 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.1206, allocations: 378.9 kB / 0.5186 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.1207, allocations: 60 kB / 0.5187 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1208, allocations: 63.94 kB / 0.5187 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.121, allocations: 183.6 kB / 0.5189 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1213, allocations: 270.8 kB / 0.5192 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007126/0.122, allocations: 0.6539 MB / 0.5198 GB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.122, allocations: 0 / 0.5198 GB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.122, allocations: 0 / 0.5198 GB, free: 7.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.122, allocations: 0 / 0.5198 GB, free: 7.832 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002052/0.1241, allocations: 0.7869 MB / 0.5206 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/0.1242, allocations: 12.62 kB / 0.5206 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.431e-05/0.1242, allocations: 12.84 kB / 0.5206 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1243, allocations: 70.66 kB / 0.5207 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1244, allocations: 48.66 kB / 0.5207 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.1249, allocations: 359.5 kB / 0.5211 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.125, allocations: 21.03 kB / 0.5211 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.1251, allocations: 32.38 kB / 0.5211 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.126, allocations: 0.4899 MB / 0.5216 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1261, allocations: 3.938 kB / 0.5216 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.1261, allocations: 16 kB / 0.5216 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1261, allocations: 11.94 kB / 0.5216 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1272, allocations: 0.5413 MB / 0.5221 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.1301, allocations: 1.307 MB / 0.5234 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.1309, allocations: 395.9 kB / 0.5238 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.1314, allocations: 236.7 kB / 0.524 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.1314, allocations: 19.97 kB / 0.524 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1315, allocations: 38.5 kB / 0.5241 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003672/0.1318, allocations: 79.64 kB / 0.5242 GB, free: 3.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.1318, allocations: 0 / 0.5242 GB, free: 3.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003959/0.1358, allocations: 1.49 MB / 0.5256 GB, free: 1.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1358, allocations: 55.41 kB / 0.5257 GB, free: 1.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.1363, allocations: 356.4 kB / 0.526 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.1364, allocations: 33.77 kB / 0.526 GB, free: 1.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1366, allocations: 220.4 kB / 0.5262 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.1368, allocations: 162.6 kB / 0.5264 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.137, allocations: 118.2 kB / 0.5265 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1372, allocations: 350.8 kB / 0.5268 GB, free: 352 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.1377, allocations: 245.2 kB / 0.5271 GB, free: 108 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.1383, allocations: 362.2 kB / 0.5274 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/0.1491, allocations: 2.39 MB / 0.5298 GB, free: 13.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1491, allocations: 4 kB / 0.5298 GB, free: 13.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001485/0.1506, allocations: 0.7131 MB / 0.5305 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1506, allocations: 4 kB / 0.5305 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1506, allocations: 4 kB / 0.5305 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.1506, allocations: 8 kB / 0.5305 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.1524, allocations: 300 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.1549, allocations: 2.852 MB / 0.5335 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.1554, allocations: 19.98 kB / 0.5336 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.1555, allocations: 31.92 kB / 0.5336 GB, free: 9.031 MB / 398.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.000319/0.1558, allocations: 186.5 kB / 0.5338 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.1559, allocations: 47.72 kB / 0.5338 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.1572, allocations: 0.6022 MB / 0.5344 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1572, allocations: 11.98 kB / 0.5344 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1572, allocations: 3.938 kB / 0.5344 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1572, allocations: 0 / 0.5344 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1593, allocations: 1.213 MB / 0.5356 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1593, allocations: 0 / 0.5356 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.161, allocations: 251.7 kB / 0.5358 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.161, allocations: 4 kB / 0.5358 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.1611, allocations: 19.98 kB / 0.5359 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.1634, allocations: 2.837 MB / 0.5386 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1634, allocations: 0 / 0.5386 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.1651, allocations: 0.8826 MB / 0.5395 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.1653, allocations: 120.8 kB / 0.5396 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.1654, allocations: 20.17 kB / 0.5396 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.1657, allocations: 23.92 kB / 0.5397 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.1659, allocations: 36.38 kB / 0.5397 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.1659, allocations: 23.92 kB / 0.5397 GB, free: 2.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003755/0.1663, allocations: 247 kB / 0.54 GB, free: 2.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1663, allocations: 0 / 0.54 GB, free: 2.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.1669, allocations: 147.9 kB / 0.5401 GB, free: 1.996 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.002039/0.1689, allocations: 1.431 MB / 0.5415 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.1707, allocations: 0.5919 MB / 0.5421 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1707, allocations: 4.125 kB / 0.5421 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.1716, allocations: 298.3 kB / 0.5424 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.1723, allocations: 105.6 kB / 0.5425 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009145/0.1815, allocations: 5.349 MB / 0.5477 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.182, allocations: 0.8198 MB / 0.5485 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004582/0.1824, allocations: 119.4 kB / 0.5486 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.1828, allocations: 147.4 kB / 0.5487 GB, free: 8.941 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1828, allocations: 0 / 0.5487 GB, free: 8.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.218, allocations: 11.8 MB / 0.5603 GB, free: 13.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.12, allocations: 11.59 kB / 0.5603 GB, free: 13.3 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.32769114896655] Failed to read output from testmodel.py, exit status != 0: 13.273201895994134 13.288013811 13.162974587999999 Calling exit ...