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.0008881/0.000888, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004405/0.004405, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.155/1.155, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1755/0.1755, allocations: 22.34 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005849/0.000585, allocations: 8 kB / 382.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2177, allocations: 55.99 MB / 438.7 MB, free: 39.62 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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.01898/0.2367, allocations: 21.35 MB / 460 MB, free: 32.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003692/0.2371, allocations: 192.9 kB / 460.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.2372, allocations: 7.094 kB / 460.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.2372, allocations: 11.41 kB / 460.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.2374, allocations: 57.16 kB / 460.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.465e-05/0.2375, allocations: 31.62 kB / 460.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2377, allocations: 180 kB / 460.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2378, allocations: 99 kB / 460.6 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.238, allocations: 66.83 kB / 460.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.2381, allocations: 86.3 kB / 460.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2381, allocations: 9.375 kB / 460.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.588e-05/0.2381, allocations: 9.094 kB / 460.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.2381, allocations: 35.8 kB / 460.8 MB, free: 31.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.2382, allocations: 104.8 kB / 460.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2384, allocations: 174.7 kB / 461.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2384, allocations: 5.125 kB / 461.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2384, allocations: 0 / 461.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2384, allocations: 0 / 461.1 MB, free: 31.49 MB / 350.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.0003993/0.2388, allocations: 422.2 kB / 461.5 MB, free: 31.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2388, allocations: 13.88 kB / 461.5 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.2389, allocations: 45.25 kB / 461.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2389, allocations: 25.5 kB / 461.6 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.2391, allocations: 229 kB / 461.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2391, allocations: 13.05 kB / 461.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.2391, allocations: 12.72 kB / 461.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.2394, allocations: 155 kB / 462 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2394, allocations: 3.984 kB / 462 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2394, allocations: 5.906 kB / 462 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2394, allocations: 3.188 kB / 462 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.2397, allocations: 98.78 kB / 462.1 MB, free: 30.64 MB / 350.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.0006691/0.2403, allocations: 0.6357 MB / 462.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2405, allocations: 60.62 kB / 462.8 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.2406, allocations: 35.2 kB / 462.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2406, allocations: 1.094 kB / 462.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.01e-05/0.2406, allocations: 31.62 kB / 462.8 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 8.942e-05/0.2407, allocations: 13.94 kB / 462.9 MB, free: 29.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2407, allocations: 0 / 462.9 MB, free: 29.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003269/0.241, allocations: 114.6 kB / 463 MB, free: 29.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.2411, allocations: 52.47 kB / 463 MB, free: 29.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2412, allocations: 201 kB / 463.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2412, allocations: 29.7 kB / 463.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.2413, allocations: 134.6 kB / 463.4 MB, free: 29.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2413, allocations: 26.62 kB / 463.4 MB, free: 29.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.2413, allocations: 20.3 kB / 463.4 MB, free: 29.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.526e-05/0.2413, allocations: 322.3 kB / 463.7 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.2414, allocations: 30.78 kB / 463.8 MB, free: 29.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.2415, allocations: 48.47 kB / 463.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/0.2424, allocations: 196 kB / 464 MB, free: 29.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2424, allocations: 5 kB / 464 MB, free: 29.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002293/0.2427, allocations: 116.4 kB / 464.1 MB, free: 29.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2427, allocations: 11.22 kB / 464.1 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2427, allocations: 1.031 kB / 464.1 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2427, allocations: 1.406 kB / 464.1 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2429, allocations: 25.55 kB / 464.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2429, allocations: 9.125 kB / 464.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.243, allocations: 9.062 kB / 464.2 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.243, allocations: 3.656 kB / 464.2 MB, free: 29 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = max(0.0, 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.0001135/0.2431, allocations: 134.1 kB / 464.3 MB, free: 28.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2431, allocations: 9.938 kB / 464.3 MB, free: 28.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.2433, allocations: 123 kB / 464.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2433, allocations: 1.031 kB / 464.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2434, allocations: 3.938 kB / 464.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2434, allocations: 1.094 kB / 464.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.2435, allocations: 230.9 kB / 464.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2435, allocations: 0 / 464.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.2437, allocations: 20.75 kB / 464.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2437, allocations: 192 / 464.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.2437, allocations: 5.156 kB / 464.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2437, allocations: 5.062 kB / 464.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2437, allocations: 4.25 kB / 464.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.2439, allocations: 239.3 kB / 464.9 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.244, allocations: 87.83 kB / 465 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.244, allocations: 5.344 kB / 465 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.2441, allocations: 8.547 kB / 465 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.2441, allocations: 14.11 kB / 465.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2441, allocations: 2.594 kB / 465.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.2442, allocations: 142.3 kB / 465.2 MB, free: 28.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2442, allocations: 0 / 465.2 MB, free: 28.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.2444, allocations: 34.78 kB / 465.2 MB, free: 28.16 MB / 350.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.0003334/0.2448, allocations: 0.761 MB / 466 MB, free: 27.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.245, allocations: 68.48 kB / 466.1 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.245, allocations: 0 / 466.1 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.245, allocations: 36.77 kB / 466.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2453, allocations: 45.02 kB / 466.1 MB, free: 27.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2468, allocations: 1.978 MB / 468.1 MB, free: 25.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.2469, allocations: 0.723 MB / 468.8 MB, free: 25.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.985e-05/0.247, allocations: 24.41 kB / 468.9 MB, free: 25.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.2471, allocations: 51.64 kB / 468.9 MB, free: 25.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2471, allocations: 0 / 468.9 MB, free: 25.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.666/2.913, allocations: 3.204 MB / 472.1 MB, free: 24.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/2.913, allocations: 185.6 kB / 472.3 MB, free: 23.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.806/7.72, allocations: 0 / 472.3 MB, free: 23.81 MB / 350.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)