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.005595/0.005595, allocations: 104.5 kB / 15.73 MB, free: 6.035 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.001343/0.001344, allocations: 195.7 kB / 16.67 MB, free: 5.969 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.452/1.452, 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.2162/0.2162, allocations: 22.34 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 65.8 kB / 436.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1207, allocations: 54.97 MB / 491.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003661/0.1244, allocations: 2.422 MB / 494 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1261, allocations: 0.7446 MB / 494.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.1264, allocations: 8 kB / 494.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1266, allocations: 43.52 kB / 494.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.1271, allocations: 127 kB / 494.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.1278, allocations: 143.8 kB / 495 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008507/0.1287, allocations: 0.5658 MB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.1292, allocations: 321 kB / 495.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.1297, allocations: 255.2 kB / 496.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/0.1304, allocations: 351 kB / 496.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.1306, allocations: 60 kB / 496.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1307, allocations: 60 kB / 496.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.131, allocations: 183.5 kB / 496.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.1313, allocations: 266.8 kB / 497 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.132, allocations: 0.6356 MB / 497.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.132, allocations: 4 kB / 497.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.132, allocations: 3.938 kB / 497.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.1321, allocations: 0 / 497.7 MB, free: 11.52 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.002227/0.1343, allocations: 0.7911 MB / 498.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.1344, allocations: 12.03 kB / 498.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1345, allocations: 66.72 kB / 498.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.1346, allocations: 44.47 kB / 498.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.1352, allocations: 343.3 kB / 498.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.1353, allocations: 28.97 kB / 499 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.1354, allocations: 40.36 kB / 499 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.1363, allocations: 481.9 kB / 499.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1363, allocations: 0 / 499.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.1364, allocations: 12 kB / 499.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1364, allocations: 8 kB / 499.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.1374, allocations: 0.5257 MB / 0.4883 GB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.1403, allocations: 1.307 MB / 0.4896 GB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/0.141, allocations: 407.8 kB / 0.49 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.1415, allocations: 240.7 kB / 0.4902 GB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.1416, allocations: 11.98 kB / 0.4902 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1416, allocations: 38.5 kB / 0.4902 GB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003047/0.1419, allocations: 59.56 kB / 0.4903 GB, free: 6.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.1419, allocations: 0 / 0.4903 GB, free: 6.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001356/0.1433, allocations: 0.6531 MB / 0.4909 GB, free: 6.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1434, allocations: 55.41 kB / 0.491 GB, free: 6.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.1438, allocations: 356.4 kB / 0.4913 GB, free: 5.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.1439, allocations: 41.62 kB / 0.4914 GB, free: 5.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.144, allocations: 200.1 kB / 0.4916 GB, free: 5.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.1442, allocations: 145.8 kB / 0.4917 GB, free: 5.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.1444, allocations: 118.1 kB / 0.4918 GB, free: 5.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1445, allocations: 346.8 kB / 0.4921 GB, free: 5.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.145, allocations: 237 kB / 0.4924 GB, free: 4.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.1455, allocations: 345.2 kB / 0.4927 GB, free: 4.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.1465, allocations: 0.5896 MB / 0.4933 GB, free: 3.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1465, allocations: 0 / 0.4933 GB, free: 3.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001223/0.1477, allocations: 0.6818 MB / 0.4939 GB, free: 3.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1478, allocations: 8 kB / 0.4939 GB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1478, allocations: 4.375 kB / 0.494 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1478, allocations: 8 kB / 0.494 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.1495, allocations: 279.6 kB / 0.4942 GB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.1522, allocations: 2.849 MB / 0.497 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.1527, allocations: 27.97 kB / 0.497 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.019e-05/0.1528, allocations: 23.98 kB / 0.4971 GB, free: 15.62 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.0003052/0.1532, allocations: 186.5 kB / 0.4972 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1533, allocations: 51.39 kB / 0.4973 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.1545, allocations: 0.5784 MB / 0.4978 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1545, allocations: 12 kB / 0.4979 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1545, allocations: 0 / 0.4979 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1546, allocations: 3.984 kB / 0.4979 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.1565, allocations: 1.159 MB / 0.499 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1566, allocations: 0 / 0.499 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.158, allocations: 227.7 kB / 0.4992 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.158, allocations: 8 kB / 0.4992 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.1581, allocations: 15.98 kB / 0.4992 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.1605, allocations: 2.845 MB / 0.502 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1605, allocations: 0 / 0.502 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.162, allocations: 0.8745 MB / 0.5029 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1622, allocations: 116.6 kB / 0.503 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.1623, allocations: 16.09 kB / 0.503 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.1626, allocations: 15.98 kB / 0.503 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1627, allocations: 36.38 kB / 0.503 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.1628, allocations: 15.98 kB / 0.5031 GB, free: 9.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.1631, allocations: 247 kB / 0.5033 GB, free: 8.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1631, allocations: 4 kB / 0.5033 GB, free: 8.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006082/0.1637, allocations: 143.9 kB / 0.5034 GB, free: 8.711 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.001848/0.1656, allocations: 1.431 MB / 0.5048 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.1672, allocations: 0.6076 MB / 0.5054 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1672, allocations: 4.125 kB / 0.5054 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.1681, allocations: 314.2 kB / 0.5057 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.1687, allocations: 101.7 kB / 0.5058 GB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/0.1773, allocations: 5.307 MB / 0.511 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.1777, allocations: 0.8198 MB / 0.5118 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004464/0.1782, allocations: 119.3 kB / 0.5119 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.1785, allocations: 151.3 kB / 0.5121 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1785, allocations: 0 / 0.5121 GB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.2141, allocations: 11.85 MB / 0.5236 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.26, allocations: 14.44 kB / 0.5237 GB, free: 3.961 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)