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.0007706/0.0007708, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.000819/0.0008192, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2322/0.2322, allocations: 22.35 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003074, allocations: 12 kB / 382 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 55.99 MB / 438 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.002933/0.2815, allocations: 3.508 MB / 441.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.283, allocations: 1.137 MB / 442.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2832, allocations: 15.91 kB / 442.7 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.2835, allocations: 106.1 kB / 442.8 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.2839, allocations: 355.9 kB / 443.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.2844, allocations: 177.7 kB / 443.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.286, allocations: 2.029 MB / 445.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.2871, allocations: 0.9735 MB / 446.3 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.2876, allocations: 0.548 MB / 446.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000793/0.2884, allocations: 0.8055 MB / 447.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.2885, allocations: 79.75 kB / 447.8 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.2887, allocations: 84.84 kB / 447.8 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.289, allocations: 0.5049 MB / 448.3 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.2892, allocations: 276.3 kB / 448.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2904, allocations: 1.874 MB / 450.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2904, allocations: 0 / 450.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2904, allocations: 0 / 450.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.2904, allocations: 0 / 450.5 MB, free: 33.19 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.003117/0.2936, allocations: 1.657 MB / 452.1 MB, free: 32.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2936, allocations: 7.875 kB / 452.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.2938, allocations: 160 kB / 452.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.2941, allocations: 133.9 kB / 452.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.295, allocations: 0.7725 MB / 453.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.2951, allocations: 73.81 kB / 453.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.2953, allocations: 127.9 kB / 453.4 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.2974, allocations: 1.411 MB / 454.8 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2974, allocations: 0 / 454.8 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.2975, allocations: 41.62 kB / 454.9 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.2976, allocations: 27.61 kB / 454.9 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.2996, allocations: 1.252 MB / 456.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008445/0.3081, allocations: 6.038 MB / 462.2 MB, free: 26.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.3121, allocations: 1.752 MB / 463.9 MB, free: 26.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.3131, allocations: 0.6814 MB / 464.6 MB, free: 25.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.3132, allocations: 14.25 kB / 464.6 MB, free: 25.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3132, allocations: 51.34 kB / 464.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.896e-06/0.3133, allocations: 0 / 464.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.00624/0.3195, allocations: 3.337 MB / 468 MB, free: 23.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3196, allocations: 64.95 kB / 468.1 MB, free: 23.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009187/0.3205, allocations: 0.5952 MB / 468.7 MB, free: 23.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.3206, allocations: 42.3 kB / 468.7 MB, free: 23.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.3209, allocations: 449.1 kB / 469.1 MB, free: 23.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.3212, allocations: 381.1 kB / 469.5 MB, free: 22.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.3213, allocations: 24.28 kB / 469.5 MB, free: 22.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3214, allocations: 416.2 kB / 470 MB, free: 22.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.3225, allocations: 0.731 MB / 470.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.3237, allocations: 0.9191 MB / 471.6 MB, free: 21.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.325, allocations: 0.8986 MB / 472.5 MB, free: 21.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.325, allocations: 1.406 kB / 472.5 MB, free: 21.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003768/0.3288, allocations: 2.236 MB / 474.7 MB, free: 20.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3288, allocations: 6.219 kB / 474.7 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3289, allocations: 5.844 kB / 474.7 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.3302, allocations: 422.9 kB / 475.2 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.332, allocations: 390 kB / 475.5 MB, free: 20.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008517/0.3405, allocations: 14.7 MB / 490.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3418, allocations: 135 kB / 490.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.3419, allocations: 47.23 kB / 490.4 MB, free: 5.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007734/0.3427, allocations: 380.2 kB / 490.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.343, allocations: 87.23 kB / 490.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.3462, allocations: 1.781 MB / 492.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3463, allocations: 8.781 kB / 492.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3463, allocations: 7.766 kB / 492.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3463, allocations: 3.984 kB / 492.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.3479, allocations: 1.467 MB / 494.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3479, allocations: 11.95 kB / 494.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.3497, allocations: 351.6 kB / 494.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008358/0.3506, allocations: 340.3 kB / 494.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.3507, allocations: 63.95 kB / 494.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009237/0.36, allocations: 13.83 MB / 0.4968 GB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.36, allocations: 4.062 kB / 0.4968 GB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/0.3642, allocations: 2.431 MB / 0.4992 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3645, allocations: 179.9 kB / 0.4994 GB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.3647, allocations: 59.97 kB / 0.4994 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.3655, allocations: 71.77 kB / 0.4995 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.3657, allocations: 72.88 kB / 0.4996 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.3658, allocations: 35.94 kB / 0.4996 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005641/0.3663, allocations: 426.8 kB / 0.5 GB, free: 15.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3663, allocations: 0 / 0.5 GB, free: 15.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001426/0.3678, allocations: 443.2 kB / 0.5004 GB, free: 15.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004301/0.3721, allocations: 3.05 MB / 0.5034 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003756/0.3759, allocations: 2.756 MB / 0.5061 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3759, allocations: 0 / 0.5061 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.378, allocations: 1.864 MB / 0.5079 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3792, allocations: 283.8 kB / 0.5082 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.3983, allocations: 11.76 MB / 0.5197 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009095/0.3993, allocations: 1.182 MB / 0.5208 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.4004, allocations: 362.9 kB / 0.5212 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.401, allocations: 407.3 kB / 0.5216 GB, free: 8.777 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4011, allocations: 0 / 0.5216 GB, free: 8.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04477/0.4458, allocations: 28.27 MB / 0.5492 GB, free: 12.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.446, allocations: 193.4 kB / 0.5493 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.906, allocations: 7.625 kB / 0.5494 GB, free: 12.59 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/linux/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) Environment - environmentSimulation: