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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005295/0.005295, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2025/0.2025, allocations: 22.33 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 58.31 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.119, allocations: 54.97 MB / 491.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.002905/0.122, allocations: 2.43 MB / 494 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1234, allocations: 0.737 MB / 494.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1236, allocations: 0 / 494.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1238, allocations: 47.52 kB / 494.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1241, allocations: 131 kB / 494.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.1246, allocations: 139.7 kB / 495 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.1253, allocations: 0.5736 MB / 495.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.1258, allocations: 317 kB / 495.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.1261, allocations: 255.2 kB / 496.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.1266, allocations: 355 kB / 496.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1267, allocations: 60 kB / 496.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1269, allocations: 60 kB / 496.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.127, allocations: 183.5 kB / 496.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.1273, allocations: 266.9 kB / 497.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.1278, allocations: 0.6278 MB / 497.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1278, allocations: 0 / 497.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1278, allocations: 0 / 497.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1279, allocations: 0 / 497.7 MB, free: 11.67 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.001779/0.1296, allocations: 0.8028 MB / 498.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1297, allocations: 8.031 kB / 498.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.707e-05/0.1298, allocations: 74.66 kB / 498.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1299, allocations: 40.47 kB / 498.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.1304, allocations: 351.3 kB / 498.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1304, allocations: 21.03 kB / 499 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.1305, allocations: 32.38 kB / 499 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.1314, allocations: 489.9 kB / 499.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1314, allocations: 0 / 499.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.1314, allocations: 8 kB / 499.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1314, allocations: 12 kB / 499.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.1324, allocations: 0.5296 MB / 0.4883 GB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.1349, allocations: 1.307 MB / 0.4896 GB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.1356, allocations: 391.9 kB / 0.49 GB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.1361, allocations: 244.7 kB / 0.4902 GB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1361, allocations: 15.92 kB / 0.4902 GB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1361, allocations: 46.44 kB / 0.4902 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002461/0.1364, allocations: 59.58 kB / 0.4903 GB, free: 7.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.1364, allocations: 0 / 0.4903 GB, free: 7.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00124/0.1376, allocations: 0.6531 MB / 0.4909 GB, free: 6.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1377, allocations: 55.41 kB / 0.491 GB, free: 6.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.138, allocations: 348.4 kB / 0.4913 GB, free: 6.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.1381, allocations: 37.7 kB / 0.4914 GB, free: 5.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1382, allocations: 204.1 kB / 0.4916 GB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1383, allocations: 149.8 kB / 0.4917 GB, free: 5.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.1385, allocations: 114.1 kB / 0.4918 GB, free: 5.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1387, allocations: 354.8 kB / 0.4921 GB, free: 5.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.1391, allocations: 237 kB / 0.4924 GB, free: 4.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.1396, allocations: 345.1 kB / 0.4927 GB, free: 4.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/0.1405, allocations: 0.5857 MB / 0.4933 GB, free: 3.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1405, allocations: 0 / 0.4933 GB, free: 3.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001159/0.1417, allocations: 0.6896 MB / 0.494 GB, free: 3.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1417, allocations: 4 kB / 0.494 GB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1417, allocations: 4 kB / 0.494 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1418, allocations: 8 kB / 0.494 GB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.1434, allocations: 287.9 kB / 0.4942 GB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.1454, allocations: 2.837 MB / 0.497 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.1459, allocations: 31.97 kB / 0.497 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.146, allocations: 23.98 kB / 0.4971 GB, free: 15.75 MB / 382.1 MB 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 (70): * Single equations (assignments): 68 * 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.0002055/0.1462, allocations: 178.4 kB / 0.4972 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-05/0.1463, allocations: 43.47 kB / 0.4973 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.1474, allocations: 0.5902 MB / 0.4979 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1474, allocations: 4 kB / 0.4979 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1474, allocations: 3.984 kB / 0.4979 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1474, allocations: 3.984 kB / 0.4979 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.1492, allocations: 1.163 MB / 0.499 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1492, allocations: 0 / 0.499 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.1506, allocations: 227.7 kB / 0.4992 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.1507, allocations: 4 kB / 0.4992 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.1507, allocations: 19.92 kB / 0.4992 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.1526, allocations: 2.837 MB / 0.502 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1527, allocations: 4.156 kB / 0.502 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.154, allocations: 0.8667 MB / 0.5029 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1542, allocations: 120.6 kB / 0.503 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.1542, allocations: 11.98 kB / 0.503 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.1546, allocations: 16.17 kB / 0.503 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1547, allocations: 36.38 kB / 0.503 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.1548, allocations: 31.86 kB / 0.5031 GB, free: 9.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.155, allocations: 251 kB / 0.5033 GB, free: 8.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.155, allocations: 0 / 0.5033 GB, free: 8.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.1556, allocations: 147.9 kB / 0.5034 GB, free: 8.84 MB / 382.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 (48): * Single equations (assignments): 46 * 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.001716/0.1573, allocations: 1.424 MB / 0.5048 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.1588, allocations: 0.6109 MB / 0.5054 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1588, allocations: 0 / 0.5054 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.1597, allocations: 307 kB / 0.5057 GB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.1602, allocations: 101.4 kB / 0.5058 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007895/0.1681, allocations: 5.309 MB / 0.511 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1685, allocations: 0.8199 MB / 0.5118 GB, free: 68 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003991/0.169, allocations: 115.3 kB / 0.5119 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.1693, allocations: 151.3 kB / 0.5121 GB, free: 15.8 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1693, allocations: 4 kB / 0.5121 GB, free: 15.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.2034, allocations: 11.48 MB / 0.5233 GB, free: 4.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.7, allocations: 19.22 kB / 0.5233 GB, free: 4.469 MB / 398.1 MB (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 --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)