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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005763/0.005763, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001329/0.001329, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2181/0.2181, allocations: 22.35 MB / 312.9 MB, free: 12.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 68.72 kB / 436.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 54.96 MB / 491.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003641/0.1085, allocations: 2.62 MB / 494.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1105, allocations: 0.8065 MB / 495 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.1108, allocations: 4 kB / 495 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1111, allocations: 55.5 kB / 495 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.1116, allocations: 123.1 kB / 495.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.1121, allocations: 131.7 kB / 495.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.1127, allocations: 478.8 kB / 495.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.1133, allocations: 340.4 kB / 496.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.1136, allocations: 215.3 kB / 496.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.1141, allocations: 287.1 kB / 496.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1142, allocations: 48 kB / 496.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.1145, allocations: 83.95 kB / 496.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.1147, allocations: 151.5 kB / 496.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.115, allocations: 238.9 kB / 497.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.1157, allocations: 0.5654 MB / 497.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1158, allocations: 0 / 497.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1158, allocations: 0 / 497.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.1158, allocations: 8 kB / 497.7 MB, free: 11.6 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001801/0.1176, allocations: 0.7404 MB / 498.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1177, allocations: 8.031 kB / 498.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.1178, allocations: 70.72 kB / 498.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1179, allocations: 40.47 kB / 498.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.1184, allocations: 338.5 kB / 498.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.1184, allocations: 25.02 kB / 498.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.1185, allocations: 36.38 kB / 498.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.1192, allocations: 406 kB / 499.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1192, allocations: 0 / 499.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.1193, allocations: 12 kB / 499.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1193, allocations: 8 kB / 499.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.12, allocations: 390.3 kB / 499.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.1226, allocations: 1.31 MB / 0.4893 GB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.1231, allocations: 310.5 kB / 0.4896 GB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.1235, allocations: 209.5 kB / 0.4898 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1235, allocations: 8 kB / 0.4898 GB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1235, allocations: 38.56 kB / 0.4898 GB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003224/0.1239, allocations: 59.72 kB / 0.4899 GB, free: 7.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.1239, allocations: 0 / 0.4899 GB, free: 7.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00189/0.1258, allocations: 0.6946 MB / 0.4905 GB, free: 6.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1258, allocations: 55.41 kB / 0.4906 GB, free: 6.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.1262, allocations: 320.5 kB / 0.4909 GB, free: 6.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1262, allocations: 33.7 kB / 0.4909 GB, free: 6.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1263, allocations: 200.2 kB / 0.4911 GB, free: 6.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1265, allocations: 110.4 kB / 0.4912 GB, free: 5.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1266, allocations: 77.67 kB / 0.4913 GB, free: 5.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1267, allocations: 342.8 kB / 0.4916 GB, free: 5.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.1271, allocations: 167.9 kB / 0.4918 GB, free: 5.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.1274, allocations: 226 kB / 0.492 GB, free: 5.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.1281, allocations: 398.5 kB / 0.4924 GB, free: 4.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1281, allocations: 0 / 0.4924 GB, free: 4.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001189/0.1293, allocations: 0.5445 MB / 0.4929 GB, free: 4.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1293, allocations: 8 kB / 0.4929 GB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1293, allocations: 0 / 0.4929 GB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/0.13, allocations: 88.77 kB / 0.493 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.1306, allocations: 99.86 kB / 0.4931 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/0.131, allocations: 0.5796 MB / 0.4937 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.1313, allocations: 11.98 kB / 0.4937 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.1314, allocations: 20 kB / 0.4937 GB, free: 3.363 MB / 366.1 MB 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.1316, allocations: 162.6 kB / 0.4939 GB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1317, allocations: 35.61 kB / 0.4939 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.1329, allocations: 0.5211 MB / 0.4944 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1329, allocations: 4 kB / 0.4944 GB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1329, allocations: 4 kB / 0.4944 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1329, allocations: 0 / 0.4944 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.1335, allocations: 457.2 kB / 0.4948 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1335, allocations: 0 / 0.4948 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.134, allocations: 91.88 kB / 0.4949 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.1345, allocations: 76.78 kB / 0.495 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.1345, allocations: 11.94 kB / 0.495 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004071/0.1349, allocations: 0.5835 MB / 0.4956 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.135, allocations: 3.938 kB / 0.4956 GB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1364, allocations: 0.7695 MB / 0.4963 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.1365, allocations: 108.7 kB / 0.4964 GB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.1365, allocations: 11.98 kB / 0.4965 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.1368, allocations: 12 kB / 0.4965 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.1369, allocations: 27.89 kB / 0.4965 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.1369, allocations: 12 kB / 0.4965 GB, free: 356 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1372, allocations: 231 kB / 0.4967 GB, free: 128 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1372, allocations: 4 kB / 0.4967 GB, free: 124 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004321/0.1376, allocations: 107.8 kB / 0.4968 GB, free: 16 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/0.1392, allocations: 1.286 MB / 0.4981 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1402, allocations: 428.2 kB / 0.4985 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1402, allocations: 0 / 0.4985 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.1407, allocations: 227.6 kB / 0.4987 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.1412, allocations: 89.59 kB / 0.4988 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.1472, allocations: 4.105 MB / 0.5028 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1476, allocations: 0.8078 MB / 0.5036 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.1478, allocations: 75.23 kB / 0.5037 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1481, allocations: 135.4 kB / 0.5038 GB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1481, allocations: 0 / 0.5038 GB, free: 8.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.1788, allocations: 9.741 MB / 0.5133 GB, free: 15.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.35, allocations: 12.84 kB / 0.5133 GB, free: 15.1 MB / 398.1 MB (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 --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)