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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 105.5 kB / 19.73 MB, free: 2.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 215.5 kB / 23.04 MB, free: 5.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.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.1072/0.1072, allocations: 22.93 MB / 336.2 MB, free: 12.63 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 59.91 kB / 472.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3358, allocations: 59.28 MB / 0.5191 GB, free: 10.62 MB / 382.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.04006/0.3758, allocations: 22.64 MB / 0.5412 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.3765, allocations: 173.7 kB / 0.5414 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.3767, allocations: 2.906 kB / 0.5414 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.3768, allocations: 20.36 kB / 0.5414 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.377, allocations: 71.53 kB / 0.5415 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.3772, allocations: 36.03 kB / 0.5415 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3774, allocations: 191.4 kB / 0.5417 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.3776, allocations: 97.08 kB / 0.5418 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3778, allocations: 90.72 kB / 0.5419 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3779, allocations: 88.7 kB / 0.5419 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.378, allocations: 14.19 kB / 0.542 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.378, allocations: 13 kB / 0.542 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.378, allocations: 40.08 kB / 0.542 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3782, allocations: 85.16 kB / 0.5421 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3784, allocations: 191.5 kB / 0.5423 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3784, allocations: 0 / 0.5423 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3784, allocations: 1.031 kB / 0.5423 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3784, allocations: 0 / 0.5423 GB, free: 2.059 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.0004917/0.3789, allocations: 383.8 kB / 0.5426 GB, free: 1.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3789, allocations: 11.48 kB / 0.5426 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.603e-05/0.379, allocations: 1.734 kB / 0.5427 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.379, allocations: 48.12 kB / 0.5427 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.379, allocations: 21.64 kB / 0.5427 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3792, allocations: 166.5 kB / 0.5429 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3792, allocations: 9.953 kB / 0.5429 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3793, allocations: 15 kB / 0.5429 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3795, allocations: 161 kB / 0.5431 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3796, allocations: 3.984 kB / 0.5431 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3796, allocations: 9.312 kB / 0.5431 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3796, allocations: 2.75 kB / 0.5431 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.3798, allocations: 101.5 kB / 0.5432 GB, free: 1.348 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.0007412/0.3806, allocations: 0.5987 MB / 0.5438 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3807, allocations: 45.23 kB / 0.5438 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.907e-05/0.3808, allocations: 31.3 kB / 0.5438 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3808, allocations: 5.375 kB / 0.5438 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.3808, allocations: 33.91 kB / 0.5439 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001425/0.381, allocations: 24.28 kB / 0.5439 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.381, allocations: 0 / 0.5439 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003847/0.3814, allocations: 116.4 kB / 0.544 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3814, allocations: 56.72 kB / 0.544 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3816, allocations: 189.9 kB / 0.5442 GB, free: 472 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3816, allocations: 25.7 kB / 0.5443 GB, free: 440 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3816, allocations: 134.4 kB / 0.5444 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3816, allocations: 30.55 kB / 0.5444 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3817, allocations: 32.64 kB / 0.5444 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.3818, allocations: 323.1 kB / 0.5448 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3819, allocations: 23.84 kB / 0.5448 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.382, allocations: 50.73 kB / 0.5448 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.3831, allocations: 200.2 kB / 0.545 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3831, allocations: 0 / 0.545 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003037/0.3834, allocations: 119.9 kB / 0.5451 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3834, allocations: 5.766 kB / 0.5451 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3834, allocations: 3.938 kB / 0.5451 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3834, allocations: 2.5 kB / 0.5451 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3836, allocations: 27.39 kB / 0.5452 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3836, allocations: 5.281 kB / 0.5452 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.3837, allocations: 1.984 kB / 0.5452 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3837, allocations: 8.953 kB / 0.5452 GB, free: 15.74 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.0001835/0.3839, allocations: 127.5 kB / 0.5453 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.3839, allocations: 14.53 kB / 0.5453 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3842, allocations: 122 kB / 0.5454 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3842, allocations: 6.031 kB / 0.5454 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3842, allocations: 4.688 kB / 0.5454 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3842, allocations: 0.9375 kB / 0.5454 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3845, allocations: 208.6 kB / 0.5456 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3845, allocations: 0.6094 kB / 0.5456 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3847, allocations: 20.09 kB / 0.5457 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3847, allocations: 1.844 kB / 0.5457 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3847, allocations: 1.828 kB / 0.5457 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3847, allocations: 0 / 0.5457 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3847, allocations: 5.406 kB / 0.5457 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.3851, allocations: 236.2 kB / 0.5459 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3851, allocations: 17.88 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3851, allocations: 5.984 kB / 0.5459 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3852, allocations: 6.047 kB / 0.5459 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3853, allocations: 9.891 kB / 0.5459 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3853, allocations: 2.969 kB / 0.5459 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3854, allocations: 148.1 kB / 0.5461 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3854, allocations: 1.375 kB / 0.5461 GB, free: 15.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3857, allocations: 33.62 kB / 0.5461 GB, free: 15.02 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.0006287/0.3863, allocations: 0.7677 MB / 0.5469 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3865, allocations: 69.78 kB / 0.5469 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3865, allocations: 0 / 0.5469 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.3866, allocations: 39.05 kB / 0.547 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.387, allocations: 42.81 kB / 0.547 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3894, allocations: 1.897 MB / 0.5489 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3897, allocations: 0.7229 MB / 0.5496 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.578e-05/0.3898, allocations: 22.28 kB / 0.5496 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3899, allocations: 57.02 kB / 0.5496 GB, free: 11.94 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3899, allocations: 0 / 0.5496 GB, free: 11.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.4151, allocations: 3.759 MB / 0.5533 GB, free: 9.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 4.766 kB / 0.5533 GB, free: 9.641 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.50448216201039] Failed to read output from testmodel.py, exit status != 0: 11.892779627989512 11.912601321 11.530026168 Calling exit ...