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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 104.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09591/0.09591, allocations: 22.68 MB / 325.4 MB, free: 7.922 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 73.19 kB / 457.2 MB, free: 41.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.09058, allocations: 58.04 MB / 0.5031 GB, free: 8.211 MB / 366.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.03196/0.1225, allocations: 22.58 MB / 0.5252 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.1232, allocations: 187.2 kB / 0.5253 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1233, allocations: 4 kB / 0.5254 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.871e-05/0.1234, allocations: 23.72 kB / 0.5254 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1236, allocations: 63.48 kB / 0.5254 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.673e-05/0.1237, allocations: 35.94 kB / 0.5255 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.124, allocations: 183.1 kB / 0.5256 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1242, allocations: 105.4 kB / 0.5257 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1243, allocations: 87.64 kB / 0.5258 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1245, allocations: 87.69 kB / 0.5259 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.1245, allocations: 12 kB / 0.5259 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.1246, allocations: 16 kB / 0.5259 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.1246, allocations: 43.77 kB / 0.526 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.1247, allocations: 75.61 kB / 0.5261 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1249, allocations: 191.2 kB / 0.5262 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1249, allocations: 4 kB / 0.5262 GB, free: 0.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1249, allocations: 0 / 0.5262 GB, free: 0.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.125, allocations: 3.938 kB / 0.5262 GB, free: 0.6641 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.0006808/0.1256, allocations: 458.8 kB / 0.5267 GB, free: 168 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1257, allocations: 12.03 kB / 0.5267 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.1257, allocations: 38.75 kB / 0.5267 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1258, allocations: 20.84 kB / 0.5267 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1261, allocations: 233.9 kB / 0.527 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1261, allocations: 12.61 kB / 0.527 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.1261, allocations: 12.38 kB / 0.527 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.1265, allocations: 159.5 kB / 0.5271 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1265, allocations: 0 / 0.5271 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1265, allocations: 4 kB / 0.5272 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1265, allocations: 4 kB / 0.5272 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1269, allocations: 103.9 kB / 0.5273 GB, free: 15.52 MB / 398.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.001021/0.1279, allocations: 0.6395 MB / 0.5279 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.128, allocations: 54.55 kB / 0.5279 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1281, allocations: 28.84 kB / 0.528 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1282, allocations: 4.141 kB / 0.528 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1282, allocations: 38.56 kB / 0.528 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001251/0.1283, allocations: 12 kB / 0.528 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1283, allocations: 0 / 0.528 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.1287, allocations: 113.5 kB / 0.5281 GB, free: 14.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1288, allocations: 51.41 kB / 0.5282 GB, free: 14.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.129, allocations: 202.5 kB / 0.5284 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.129, allocations: 29.7 kB / 0.5284 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1291, allocations: 139.9 kB / 0.5285 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1291, allocations: 19.84 kB / 0.5285 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.1292, allocations: 29.66 kB / 0.5286 GB, free: 14.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1293, allocations: 326.8 kB / 0.5289 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1294, allocations: 23.98 kB / 0.5289 GB, free: 13.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1295, allocations: 42.56 kB / 0.5289 GB, free: 13.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.1306, allocations: 210.3 kB / 0.5291 GB, free: 13.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1306, allocations: 0 / 0.5291 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002871/0.1309, allocations: 121.5 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1309, allocations: 5.562 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1309, allocations: 4 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.131, allocations: 4 kB / 0.5293 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1311, allocations: 23.97 kB / 0.5293 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1311, allocations: 12 kB / 0.5293 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.1312, allocations: 4 kB / 0.5293 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1312, allocations: 4 kB / 0.5293 GB, free: 13.24 MB / 398.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.000174/0.1314, allocations: 138.4 kB / 0.5294 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.1314, allocations: 15.84 kB / 0.5295 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1317, allocations: 123 kB / 0.5296 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.1317, allocations: 4 kB / 0.5296 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1317, allocations: 3.938 kB / 0.5296 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1317, allocations: 0 / 0.5296 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.132, allocations: 221.6 kB / 0.5298 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.132, allocations: 0 / 0.5298 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1321, allocations: 23.98 kB / 0.5298 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1321, allocations: 0 / 0.5298 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1321, allocations: 0 / 0.5298 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.1322, allocations: 7.984 kB / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1322, allocations: 7.938 kB / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.1325, allocations: 235.5 kB / 0.5301 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1326, allocations: 89.05 kB / 0.5301 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1326, allocations: 0 / 0.5301 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.1327, allocations: 0 / 0.5301 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1327, allocations: 15.92 kB / 0.5302 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1327, allocations: 4 kB / 0.5302 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1329, allocations: 152.2 kB / 0.5303 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1329, allocations: 0 / 0.5303 GB, free: 12.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1331, allocations: 31.95 kB / 0.5303 GB, free: 12.09 MB / 398.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.0006463/0.1338, allocations: 0.7592 MB / 0.5311 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.134, allocations: 67.89 kB / 0.5311 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.134, allocations: 4.188 kB / 0.5312 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1341, allocations: 35.92 kB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1344, allocations: 40.22 kB / 0.5312 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1367, allocations: 1.9 MB / 0.5331 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1371, allocations: 0.7241 MB / 0.5338 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.1372, allocations: 21.55 kB / 0.5338 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.1373, allocations: 47.42 kB / 0.5339 GB, free: 8.352 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1373, allocations: 4 kB / 0.5339 GB, free: 8.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.1651, allocations: 3.563 MB / 0.5373 GB, free: 4.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.894, allocations: 16.08 kB / 0.5374 GB, free: 4.824 MB / 398.1 MB " [Timeout remaining time 652] (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 --stepSize=0.2 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.491305303294212] Failed to read output from testmodel.py, exit status != 0: 7.960977040231228 7.975906742 7.847932636 Calling exit ...