Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",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.0009494/0.0009494, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009261/0.0009261, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.18/0.18, allocations: 22.35 MB / 312.3 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 55.91 kB / 380.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2461, allocations: 54.95 MB / 435.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003145/0.2492, allocations: 3.301 MB / 438.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2503, allocations: 0.8996 MB / 439.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2504, allocations: 13.28 kB / 439.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.2506, allocations: 67.94 kB / 439.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.2509, allocations: 217.6 kB / 439.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2512, allocations: 141.2 kB / 439.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007356/0.252, allocations: 1.301 MB / 441.1 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.2525, allocations: 0.6466 MB / 441.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2528, allocations: 346.7 kB / 442.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.2532, allocations: 0.4906 MB / 442.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.43e-05/0.2533, allocations: 57.03 kB / 442.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2534, allocations: 62.38 kB / 442.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2536, allocations: 284.8 kB / 443 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.2539, allocations: 414.3 kB / 443.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006263/0.2545, allocations: 1.228 MB / 444.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2545, allocations: 4 kB / 444.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2545, allocations: 0 / 444.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2546, allocations: 4 kB / 444.6 MB, free: 34.52 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001926/0.2565, allocations: 1.192 MB / 445.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2565, allocations: 16 kB / 445.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.2566, allocations: 103.6 kB / 445.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2568, allocations: 73.34 kB / 446 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.2573, allocations: 0.5227 MB / 446.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.2574, allocations: 47.69 kB / 446.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.2575, allocations: 64.97 kB / 446.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.2585, allocations: 0.7752 MB / 447.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2585, allocations: 2.469 kB / 447.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.2586, allocations: 22.31 kB / 447.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2586, allocations: 15.03 kB / 447.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009293/0.2596, allocations: 0.6814 MB / 448.1 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.2632, allocations: 3.574 MB / 451.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.2651, allocations: 0.8663 MB / 452.6 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.2655, allocations: 367 kB / 452.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.2656, allocations: 6.594 kB / 452.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.2656, allocations: 42.22 kB / 453 MB, free: 29.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.893e-06/0.2656, allocations: 0 / 453 MB, free: 29.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003429/0.269, allocations: 1.868 MB / 454.8 MB, free: 28.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.2691, allocations: 57.47 kB / 454.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.2695, allocations: 475.3 kB / 455.4 MB, free: 28.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.2696, allocations: 36.42 kB / 455.4 MB, free: 28.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2697, allocations: 323.9 kB / 455.7 MB, free: 28.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2699, allocations: 202.2 kB / 455.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.2701, allocations: 136.6 kB / 456 MB, free: 27.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.2702, allocations: 371.5 kB / 456.4 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.2707, allocations: 405.9 kB / 456.8 MB, free: 27.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.2714, allocations: 0.5547 MB / 457.3 MB, free: 26.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2725, allocations: 0.9867 MB / 458.3 MB, free: 26.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2725, allocations: 1.094 kB / 458.3 MB, free: 26.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002329/0.2749, allocations: 1.29 MB / 459.6 MB, free: 25.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.2749, allocations: 8.656 kB / 459.6 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2749, allocations: 4.375 kB / 459.6 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.2761, allocations: 270.2 kB / 459.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.2771, allocations: 214.9 kB / 460.1 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/0.2824, allocations: 8.831 MB / 468.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.283, allocations: 88.52 kB / 469 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.2831, allocations: 29.45 kB / 469.1 MB, free: 17.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.2834, allocations: 276.1 kB / 469.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.2835, allocations: 52.62 kB / 469.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.2853, allocations: 0.9915 MB / 470.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2853, allocations: 5.719 kB / 470.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2853, allocations: 5.375 kB / 470.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2853, allocations: 8.594 kB / 470.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.2862, allocations: 0.8446 MB / 471.2 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2862, allocations: 0 / 471.2 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009507/0.2872, allocations: 170.8 kB / 471.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006747/0.2879, allocations: 226.6 kB / 471.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.2879, allocations: 34.84 kB / 471.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.2923, allocations: 8.368 MB / 480 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2923, allocations: 1.219 kB / 480 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.2944, allocations: 1.373 MB / 481.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2945, allocations: 135.5 kB / 481.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2946, allocations: 33.38 kB / 481.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.295, allocations: 45.77 kB / 481.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2952, allocations: 50.06 kB / 481.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.2952, allocations: 16.55 kB / 481.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003454/0.2956, allocations: 333.3 kB / 482 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2956, allocations: 0 / 482 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007906/0.2964, allocations: 255.5 kB / 482.2 MB, free: 6.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002328/0.2987, allocations: 1.953 MB / 484.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.3006, allocations: 1.574 MB / 485.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3006, allocations: 1.125 kB / 485.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3016, allocations: 1.081 MB / 486.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.3024, allocations: 164.2 kB / 487 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.3145, allocations: 8.743 MB / 495.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.3152, allocations: 0.9665 MB / 496.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006502/0.3158, allocations: 200.8 kB / 496.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.3162, allocations: 232.3 kB / 497.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3162, allocations: 4 kB / 497.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3478, allocations: 17.82 MB / 0.5029 GB, free: 11.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.348, allocations: 208.8 kB / 0.5031 GB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.391, allocations: 0 / 0.5031 GB, free: 11.38 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)