Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_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.005063/0.005063, allocations: 99.44 kB / 15.73 MB, free: 5.996 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.001113/0.001113, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09292/0.09292, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.91 kB / 436.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 54.96 MB / 491.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.004106/0.1265, allocations: 2.081 MB / 493.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007852/0.1273, allocations: 183.3 kB / 493.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.1276, allocations: 4 kB / 493.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1277, allocations: 27.72 kB / 493.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.1281, allocations: 63.41 kB / 493.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1283, allocations: 43.83 kB / 493.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1286, allocations: 211 kB / 494.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.1289, allocations: 112.5 kB / 494.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.129, allocations: 83.66 kB / 494.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1292, allocations: 79.58 kB / 494.4 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.1293, allocations: 16 kB / 494.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.1293, allocations: 19.94 kB / 494.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1294, allocations: 35.91 kB / 494.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1295, allocations: 99.47 kB / 494.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1298, allocations: 199.5 kB / 494.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1298, allocations: 0 / 494.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1298, allocations: 0 / 494.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.1298, allocations: 0 / 494.7 MB, free: 1.992 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007762/0.1306, allocations: 474.8 kB / 495.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1306, allocations: 8.031 kB / 495.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1307, allocations: 46.73 kB / 495.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.1308, allocations: 20.75 kB / 495.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.1312, allocations: 248.6 kB / 495.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1312, allocations: 12.66 kB / 495.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1312, allocations: 12.38 kB / 495.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1315, allocations: 136.2 kB / 495.7 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1315, allocations: 3.938 kB / 495.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1316, allocations: 8 kB / 495.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1316, allocations: 4 kB / 495.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1318, allocations: 76.81 kB / 495.8 MB, free: 0.8594 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1328, allocations: 0.6475 MB / 496.4 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.133, allocations: 50.56 kB / 496.5 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.133, allocations: 16.86 kB / 496.5 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1331, allocations: 0 / 496.5 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1331, allocations: 38.56 kB / 496.5 MB, free: 0 / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1331, allocations: 96 / 496.5 MB, free: 0 / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.1334, allocations: 93.42 kB / 496.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1335, allocations: 51.41 kB / 496.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1337, allocations: 224.9 kB / 496.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1337, allocations: 29.7 kB / 496.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1338, allocations: 143.9 kB / 497 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1339, allocations: 15.8 kB / 497.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.1339, allocations: 29.62 kB / 497.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.134, allocations: 334.8 kB / 497.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.1341, allocations: 16 kB / 497.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.1342, allocations: 43.42 kB / 497.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1345, allocations: 95.53 kB / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1345, allocations: 0 / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.1347, allocations: 121.3 kB / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1347, allocations: 4 kB / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1347, allocations: 0 / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1347, allocations: 4 kB / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.1349, allocations: 40.05 kB / 497.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.135, allocations: 4 kB / 497.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.1351, allocations: 11.78 kB / 497.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1351, allocations: 4 kB / 497.8 MB, free: 14.67 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.1352, allocations: 135.3 kB / 497.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1353, allocations: 15.81 kB / 497.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.1353, allocations: 21.44 kB / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1353, allocations: 0 / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1353, allocations: 7.938 kB / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1353, allocations: 7.922 kB / 497.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1359, allocations: 400.1 kB / 498.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1359, allocations: 0 / 498.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.136, allocations: 20.02 kB / 498.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.136, allocations: 4 kB / 498.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.136, allocations: 8 kB / 498.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.136, allocations: 4 kB / 498.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.136, allocations: 3.938 kB / 498.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1362, allocations: 193.1 kB / 498.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.1363, allocations: 97.02 kB / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1363, allocations: 7.938 kB / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.1365, allocations: 3.984 kB / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.1365, allocations: 0 / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.1365, allocations: 4 kB / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1366, allocations: 168.5 kB / 498.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1367, allocations: 0 / 498.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1369, allocations: 31.91 kB / 498.9 MB, free: 13.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (header.T) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005425/0.1375, allocations: 0.7295 MB / 499.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1377, allocations: 55.92 kB / 499.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1377, allocations: 0 / 499.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.1377, allocations: 20.12 kB / 499.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1381, allocations: 32.64 kB / 499.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1403, allocations: 1.981 MB / 0.4899 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1406, allocations: 0.7241 MB / 0.4906 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1407, allocations: 17.55 kB / 0.4906 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.1408, allocations: 51.42 kB / 0.4907 GB, free: 9.676 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1408, allocations: 0 / 0.4907 GB, free: 9.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.1634, allocations: 3.418 MB / 0.494 GB, free: 6.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.462, allocations: 7.75 kB / 0.494 GB, free: 6.336 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)