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.004415/0.004415, allocations: 101.4 kB / 15.73 MB, free: 6.059 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.00118/0.00118, allocations: 194.4 kB / 16.68 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1015/0.1015, allocations: 22.32 MB / 312.9 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003189/0.003189, allocations: 67.89 kB / 436.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1106, allocations: 54.95 MB / 491.5 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003951/0.1145, allocations: 2.628 MB / 494.1 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1162, allocations: 0.8027 MB / 494.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1164, allocations: 4 kB / 494.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1166, allocations: 51.5 kB / 495 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1169, allocations: 127.1 kB / 495.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1174, allocations: 131.7 kB / 495.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00058/0.118, allocations: 482.8 kB / 495.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.1185, allocations: 328.5 kB / 496 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.1188, allocations: 215.3 kB / 496.2 MB, free: 456 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.1193, allocations: 299 kB / 496.5 MB, free: 156 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.1193, allocations: 48 kB / 496.6 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1195, allocations: 79.97 kB / 496.7 MB, free: 28 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1197, allocations: 155.6 kB / 496.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.12, allocations: 235 kB / 497 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.1206, allocations: 0.5682 MB / 497.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1206, allocations: 0 / 497.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1206, allocations: 0 / 497.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1207, allocations: 0 / 497.6 MB, free: 15.07 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001594/0.1222, allocations: 0.7518 MB / 498.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1223, allocations: 8.031 kB / 498.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.874e-05/0.1224, allocations: 70.72 kB / 498.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1225, allocations: 44.66 kB / 498.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.1229, allocations: 334.7 kB / 498.8 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.123, allocations: 21.03 kB / 498.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.1231, allocations: 36.38 kB / 498.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/0.1239, allocations: 417.9 kB / 499.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1239, allocations: 0 / 499.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.1239, allocations: 15.94 kB / 499.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.1239, allocations: 8 kB / 499.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.1247, allocations: 382.4 kB / 499.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.1274, allocations: 1.318 MB / 0.4893 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/0.128, allocations: 319 kB / 0.4896 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.1284, allocations: 204.8 kB / 0.4897 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1285, allocations: 8.062 kB / 0.4898 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.1285, allocations: 46.55 kB / 0.4898 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003064/0.1288, allocations: 55.75 kB / 0.4899 GB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.684e-06/0.1289, allocations: 0 / 0.4899 GB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001962/0.1308, allocations: 0.695 MB / 0.4905 GB, free: 10.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1309, allocations: 55.41 kB / 0.4906 GB, free: 10.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.1313, allocations: 320.5 kB / 0.4909 GB, free: 9.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1313, allocations: 33.7 kB / 0.4909 GB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1315, allocations: 200.6 kB / 0.4911 GB, free: 9.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1316, allocations: 111 kB / 0.4912 GB, free: 9.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1317, allocations: 77.67 kB / 0.4913 GB, free: 9.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1319, allocations: 342.8 kB / 0.4916 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.1323, allocations: 167.9 kB / 0.4918 GB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.1327, allocations: 222 kB / 0.492 GB, free: 8.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.1334, allocations: 398.4 kB / 0.4924 GB, free: 8.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1334, allocations: 0 / 0.4924 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001304/0.1347, allocations: 0.5447 MB / 0.4929 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1348, allocations: 4 kB / 0.4929 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1348, allocations: 4 kB / 0.4929 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.1354, allocations: 84.94 kB / 0.493 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.136, allocations: 103.8 kB / 0.4931 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005106/0.1365, allocations: 0.5797 MB / 0.4937 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.1368, allocations: 11.98 kB / 0.4937 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.1369, allocations: 19.98 kB / 0.4937 GB, free: 6.812 MB / 382.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.0001911/0.1371, allocations: 161.6 kB / 0.4938 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.1371, allocations: 35.75 kB / 0.4939 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1385, allocations: 0.5251 MB / 0.4944 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1385, allocations: 4 kB / 0.4944 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1385, allocations: 0 / 0.4944 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1385, allocations: 4 kB / 0.4944 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.1391, allocations: 465.1 kB / 0.4948 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1392, allocations: 4 kB / 0.4948 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.1396, allocations: 79.89 kB / 0.4949 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.1401, allocations: 84.78 kB / 0.495 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.1402, allocations: 11.98 kB / 0.495 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004708/0.1406, allocations: 0.5797 MB / 0.4956 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1406, allocations: 3.938 kB / 0.4956 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.1422, allocations: 0.7695 MB / 0.4963 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.1423, allocations: 117 kB / 0.4964 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.1423, allocations: 8 kB / 0.4965 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.1426, allocations: 15.98 kB / 0.4965 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.1427, allocations: 23.95 kB / 0.4965 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.1427, allocations: 12 kB / 0.4965 GB, free: 3.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.143, allocations: 227.1 kB / 0.4967 GB, free: 3.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 0.4967 GB, free: 3.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000404/0.1434, allocations: 111.8 kB / 0.4968 GB, free: 3.461 MB / 382.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.001689/0.1451, allocations: 1.283 MB / 0.4981 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009883/0.1461, allocations: 436.2 kB / 0.4985 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1461, allocations: 0 / 0.4985 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.1467, allocations: 223.6 kB / 0.4987 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1471, allocations: 87.94 kB / 0.4988 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1732/0.3204, allocations: 4.12 MB / 0.5028 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3206, allocations: 0.8064 MB / 0.5036 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.3209, allocations: 72.38 kB / 0.5037 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3211, allocations: 134.6 kB / 0.5038 GB, free: 20.3 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3211, allocations: 5.094 kB / 0.5038 GB, free: 20.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/0.3598, allocations: 9.543 MB / 0.5131 GB, free: 19.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.53, allocations: 9.188 kB / 0.5131 GB, free: 19.01 MB / 382.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)