Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.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_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",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.006623/0.006623, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001348/0.001348, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1897/0.1897, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.88 kB / 436.6 MB, free: 34.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09879/0.09994, allocations: 54.97 MB / 491.5 MB, free: 1.738 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.0296/0.1296, allocations: 21.64 MB / 0.5012 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.1302, allocations: 179.3 kB / 0.5013 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1303, allocations: 4 kB / 0.5013 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.882e-05/0.1304, allocations: 19.78 kB / 0.5014 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1307, allocations: 67.47 kB / 0.5014 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.103e-05/0.1308, allocations: 35.91 kB / 0.5015 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.131, allocations: 187 kB / 0.5016 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.1312, allocations: 129.4 kB / 0.5018 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1314, allocations: 75.72 kB / 0.5018 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1315, allocations: 91.61 kB / 0.5019 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1315, allocations: 12 kB / 0.5019 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.1315, allocations: 16 kB / 0.5019 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1316, allocations: 35.84 kB / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.1317, allocations: 83.55 kB / 0.5021 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1319, allocations: 191.3 kB / 0.5022 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1319, allocations: 0 / 0.5022 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1319, allocations: 0 / 0.5022 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1319, allocations: 0 / 0.5022 GB, free: 11.12 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006089/0.1326, allocations: 455 kB / 0.5027 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1326, allocations: 8.031 kB / 0.5027 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1327, allocations: 46.73 kB / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1327, allocations: 20.66 kB / 0.5027 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.133, allocations: 236.6 kB / 0.503 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.133, allocations: 8.609 kB / 0.503 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.133, allocations: 12.38 kB / 0.503 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.1333, allocations: 150.6 kB / 0.5031 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1334, allocations: 4 kB / 0.5031 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1334, allocations: 8 kB / 0.5031 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1334, allocations: 4 kB / 0.5031 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.1337, allocations: 99.88 kB / 0.5032 GB, free: 9.98 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.1345, allocations: 0.6317 MB / 0.5039 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1346, allocations: 50.56 kB / 0.5039 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1348, allocations: 40.78 kB / 0.5039 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1348, allocations: 8 kB / 0.504 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1348, allocations: 30.56 kB / 0.504 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.657e-05/0.1349, allocations: 11.92 kB / 0.504 GB, free: 9.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1349, allocations: 0 / 0.504 GB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000364/0.1353, allocations: 109.5 kB / 0.5041 GB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1353, allocations: 55.39 kB / 0.5042 GB, free: 8.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1355, allocations: 198.5 kB / 0.5043 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1355, allocations: 29.7 kB / 0.5044 GB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.1356, allocations: 135.8 kB / 0.5045 GB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1356, allocations: 27.7 kB / 0.5045 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.1357, allocations: 33.64 kB / 0.5046 GB, free: 8.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1358, allocations: 330.8 kB / 0.5049 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.1359, allocations: 23.98 kB / 0.5049 GB, free: 8.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.136, allocations: 38.56 kB / 0.5049 GB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.1371, allocations: 206.3 kB / 0.5051 GB, free: 7.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1371, allocations: 0 / 0.5051 GB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002719/0.1374, allocations: 121.4 kB / 0.5052 GB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1374, allocations: 4 kB / 0.5052 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1374, allocations: 4 kB / 0.5053 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1374, allocations: 0 / 0.5053 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1376, allocations: 31.98 kB / 0.5053 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1376, allocations: 3.938 kB / 0.5053 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.1377, allocations: 0 / 0.5053 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1377, allocations: 11.98 kB / 0.5053 GB, free: 7.699 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 0.0 start = H.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: 3 * 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 (12): * Single equations (assignments): 12 * 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.0001717/0.1379, allocations: 126.6 kB / 0.5054 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1379, allocations: 11.91 kB / 0.5054 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1382, allocations: 126.9 kB / 0.5056 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1382, allocations: 192 / 0.5056 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1382, allocations: 3.938 kB / 0.5056 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1382, allocations: 7.922 kB / 0.5056 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1385, allocations: 225.5 kB / 0.5058 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1385, allocations: 0 / 0.5058 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1386, allocations: 23.92 kB / 0.5058 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1386, allocations: 0 / 0.5058 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1386, allocations: 8 kB / 0.5058 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1387, allocations: 4 kB / 0.5058 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.1387, allocations: 7.922 kB / 0.5058 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.139, allocations: 235.2 kB / 0.506 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.1391, allocations: 92.95 kB / 0.5061 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1391, allocations: 4 kB / 0.5061 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1392, allocations: 3.984 kB / 0.5061 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1392, allocations: 11.94 kB / 0.5062 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1393, allocations: 0 / 0.5062 GB, free: 6.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1394, allocations: 148.3 kB / 0.5063 GB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1394, allocations: 0 / 0.5063 GB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1396, allocations: 28 kB / 0.5063 GB, free: 6.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.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 (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 Backend phase and start with SimCode phase: time 0.000572/0.1402, allocations: 0.7591 MB / 0.5071 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1405, allocations: 80.09 kB / 0.5071 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1405, allocations: 0 / 0.5071 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.1405, allocations: 40.11 kB / 0.5072 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1409, allocations: 37.42 kB / 0.5072 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1428, allocations: 1.906 MB / 0.5091 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1431, allocations: 0.7124 MB / 0.5098 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.381e-05/0.1432, allocations: 25.53 kB / 0.5098 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.1433, allocations: 59.41 kB / 0.5099 GB, free: 2.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1433, allocations: 0 / 0.5099 GB, free: 2.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.1633, allocations: 3.519 MB / 0.5133 GB, free: 15.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.359, allocations: 21.42 kB / 0.5133 GB, free: 15.3 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_mixing_streams_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_mixing_streams.fmu > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)