Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.001075/0.001076, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1846/0.1846, allocations: 22.35 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.91 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2565, allocations: 54.95 MB / 435.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.003531/0.2601, allocations: 3.948 MB / 439.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2615, allocations: 1.162 MB / 441 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.2617, allocations: 15.78 kB / 441 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2619, allocations: 151 kB / 441.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.2623, allocations: 377.2 kB / 441.5 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2629, allocations: 275.8 kB / 441.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.264, allocations: 1.943 MB / 443.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.265, allocations: 1.452 MB / 445.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.2656, allocations: 0.7318 MB / 445.9 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.2663, allocations: 0.8753 MB / 446.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.2665, allocations: 218.4 kB / 447 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.2668, allocations: 219.9 kB / 447.2 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.2672, allocations: 0.6313 MB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.2677, allocations: 0.831 MB / 448.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2689, allocations: 2.339 MB / 451 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2689, allocations: 0 / 451 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2689, allocations: 0 / 451 MB, free: 31.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.2689, allocations: 0 / 451 MB, free: 31.56 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003321/0.2723, allocations: 1.846 MB / 452.9 MB, free: 30.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2723, allocations: 8.344 kB / 452.9 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.2725, allocations: 161.9 kB / 453 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.2727, allocations: 125.2 kB / 453.2 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.274, allocations: 0.7967 MB / 454 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.2741, allocations: 75.75 kB / 454 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.2744, allocations: 123.2 kB / 454.2 MB, free: 29.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.2766, allocations: 1.42 MB / 455.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2767, allocations: 0 / 455.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.2768, allocations: 41.09 kB / 455.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.2768, allocations: 27.66 kB / 455.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.2788, allocations: 1.256 MB / 456.9 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007443/0.2862, allocations: 6.013 MB / 462.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.2902, allocations: 1.757 MB / 464.7 MB, free: 24.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000944/0.2911, allocations: 0.6801 MB / 465.3 MB, free: 24.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.2912, allocations: 21.78 kB / 465.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2912, allocations: 44.28 kB / 465.4 MB, free: 23.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.595e-06/0.2913, allocations: 0 / 465.4 MB, free: 23.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.005646/0.2969, allocations: 3.278 MB / 468.7 MB, free: 22.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.2969, allocations: 60.06 kB / 468.7 MB, free: 21.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.2976, allocations: 0.6108 MB / 469.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/0.2977, allocations: 41.83 kB / 469.4 MB, free: 21.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.2979, allocations: 446.5 kB / 469.8 MB, free: 21.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.2982, allocations: 382.8 kB / 470.2 MB, free: 21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.2986, allocations: 209.9 kB / 470.4 MB, free: 20.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2987, allocations: 406.7 kB / 470.8 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.2998, allocations: 0.7397 MB / 471.5 MB, free: 20.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3009, allocations: 0.928 MB / 472.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.3031, allocations: 1.713 MB / 474.2 MB, free: 18.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3031, allocations: 1.25 kB / 474.2 MB, free: 18.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003753/0.3068, allocations: 2.222 MB / 476.4 MB, free: 17.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3069, allocations: 7.703 kB / 476.4 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3069, allocations: 4.438 kB / 476.4 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.3083, allocations: 417.9 kB / 476.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.3101, allocations: 389.1 kB / 477.2 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/0.3186, allocations: 15.8 MB / 493 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/0.3196, allocations: 130.8 kB / 493.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.3197, allocations: 43.98 kB / 493.2 MB, free: 2.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (146): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005132/0.3202, allocations: 386.4 kB / 493.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3203, allocations: 83 kB / 493.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.3231, allocations: 1.783 MB / 495.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3231, allocations: 12 kB / 495.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3231, allocations: 3.938 kB / 495.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3231, allocations: 7.969 kB / 495.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3247, allocations: 1.465 MB / 496.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3247, allocations: 7.938 kB / 496.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/0.3268, allocations: 347.7 kB / 497.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009476/0.3277, allocations: 340.2 kB / 497.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.3279, allocations: 71.95 kB / 497.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009138/0.337, allocations: 14.9 MB / 0.5005 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.337, allocations: 0 / 0.5005 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.3408, allocations: 2.439 MB / 0.5029 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.341, allocations: 179.9 kB / 0.5031 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.3412, allocations: 63.97 kB / 0.5032 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.3419, allocations: 47.94 kB / 0.5032 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.3421, allocations: 88.75 kB / 0.5033 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/0.3422, allocations: 20 kB / 0.5033 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.3427, allocations: 430.8 kB / 0.5037 GB, free: 9.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3427, allocations: 4 kB / 0.5037 GB, free: 9.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3438, allocations: 443.2 kB / 0.5042 GB, free: 9.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (86): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004097/0.3479, allocations: 3.054 MB / 0.5071 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004384/0.3523, allocations: 3.315 MB / 0.5104 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3523, allocations: 0 / 0.5104 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.3543, allocations: 1.86 MB / 0.5122 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.3553, allocations: 293.5 kB / 0.5125 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/0.3777, allocations: 14.82 MB / 0.5269 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.3785, allocations: 1.186 MB / 0.5281 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009764/0.3794, allocations: 359 kB / 0.5284 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000648/0.3801, allocations: 411.2 kB / 0.5288 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3801, allocations: 0 / 0.5288 GB, free: 15.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8051/1.185, allocations: 30.14 MB / 0.5583 GB, free: 1.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.36, allocations: 8.375 kB / 0.5583 GB, free: 1.621 MB / 430.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)