Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.007716/0.007716, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001704/0.001704, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09304/0.09304, allocations: 22.32 MB / 312.9 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.89 kB / 436.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 54.96 MB / 491.5 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.005068/0.1339, allocations: 3.383 MB / 494.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1365, allocations: 0.9313 MB / 495.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.1371, allocations: 11.94 kB / 495.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.1377, allocations: 95.16 kB / 495.9 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.1388, allocations: 262.4 kB / 496.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1395, allocations: 183.7 kB / 496.4 MB, free: 336 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1409, allocations: 1.155 MB / 497.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.1422, allocations: 0.8033 MB / 498.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.1431, allocations: 454.8 kB / 498.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.1443, allocations: 0.514 MB / 499.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.1446, allocations: 124 kB / 499.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1449, allocations: 124 kB / 499.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.1453, allocations: 359.1 kB / 499.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.1461, allocations: 0.4941 MB / 0.4886 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.1477, allocations: 1.359 MB / 0.49 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1477, allocations: 4 kB / 0.49 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1477, allocations: 0 / 0.49 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.1478, allocations: 0 / 0.49 GB, free: 10.94 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003379/0.1512, allocations: 1.228 MB / 0.4912 GB, free: 9.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.1513, allocations: 8.031 kB / 0.4912 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.1514, allocations: 114.7 kB / 0.4913 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.1518, allocations: 91.84 kB / 0.4914 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/0.1527, allocations: 0.5342 MB / 0.4919 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.1528, allocations: 71.58 kB / 0.492 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1529, allocations: 76.28 kB / 0.492 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.1545, allocations: 0.8302 MB / 0.4928 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.1545, allocations: 4 kB / 0.4929 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.1546, allocations: 35.94 kB / 0.4929 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1546, allocations: 12 kB / 0.4929 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1559, allocations: 0.7196 MB / 0.4936 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.1612, allocations: 3.732 MB / 0.4972 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.1635, allocations: 0.9033 MB / 0.4981 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.1642, allocations: 370.4 kB / 0.4985 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.1642, allocations: 12.53 kB / 0.4985 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1643, allocations: 43.12 kB / 0.4985 GB, free: 1.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.295e-06/0.1643, allocations: 0 / 0.4985 GB, free: 1.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.2301/0.3944, allocations: 1.717 MB / 0.5002 GB, free: 22.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.3945, allocations: 61.12 kB / 0.5003 GB, free: 22.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.395, allocations: 474.1 kB / 0.5007 GB, free: 21.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.3952, allocations: 35.27 kB / 0.5008 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3953, allocations: 340.5 kB / 0.5011 GB, free: 21.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.3955, allocations: 228.2 kB / 0.5013 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.3958, allocations: 148.4 kB / 0.5014 GB, free: 21.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.3959, allocations: 373.5 kB / 0.5018 GB, free: 21.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.3965, allocations: 457.9 kB / 0.5022 GB, free: 21.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.3971, allocations: 0.5829 MB / 0.5028 GB, free: 21.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/0.4036, allocations: 2.393 MB / 0.5051 GB, free: 20.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.4036, allocations: 2.969 kB / 0.5051 GB, free: 20.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002252/0.4059, allocations: 1.289 MB / 0.5064 GB, free: 20.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4059, allocations: 7.531 kB / 0.5064 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4059, allocations: 8.219 kB / 0.5064 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008488/0.4068, allocations: 209.6 kB / 0.5066 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4079, allocations: 261.8 kB / 0.5069 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/0.4133, allocations: 7.906 MB / 0.5146 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/0.4143, allocations: 90.44 kB / 0.5147 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/0.4144, allocations: 32.5 kB / 0.5147 GB, free: 13.8 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006227/0.4151, allocations: 280.7 kB / 0.515 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4152, allocations: 57.41 kB / 0.515 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.417, allocations: 0.9851 MB / 0.516 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.417, allocations: 5.359 kB / 0.516 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.417, allocations: 2.219 kB / 0.516 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.4171, allocations: 3.094 kB / 0.516 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4183, allocations: 0.8872 MB / 0.5169 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4184, allocations: 3.828 kB / 0.5169 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.4198, allocations: 218.3 kB / 0.5171 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.4203, allocations: 174.6 kB / 0.5172 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.4204, allocations: 35.95 kB / 0.5173 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.4244, allocations: 7.448 MB / 0.5245 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4244, allocations: 4.062 kB / 0.5246 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4271, allocations: 1.362 MB / 0.5259 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.4273, allocations: 144.6 kB / 0.526 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4274, allocations: 28.86 kB / 0.526 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.4278, allocations: 34.47 kB / 0.5261 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.428, allocations: 49.81 kB / 0.5261 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.4281, allocations: 16.17 kB / 0.5261 GB, free: 6.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004448/0.4285, allocations: 326.3 kB / 0.5265 GB, free: 5.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4285, allocations: 0 / 0.5265 GB, free: 5.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001326/0.4298, allocations: 270 kB / 0.5267 GB, free: 5.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002596/0.4325, allocations: 1.944 MB / 0.5286 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.4346, allocations: 1.473 MB / 0.53 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4347, allocations: 1.406 kB / 0.53 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.4356, allocations: 0.9471 MB / 0.531 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008262/0.4364, allocations: 179.3 kB / 0.5311 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4498, allocations: 8.637 MB / 0.5396 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.4506, allocations: 0.9855 MB / 0.5405 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006192/0.4512, allocations: 211.4 kB / 0.5407 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.4516, allocations: 249.1 kB / 0.541 GB, free: 13.24 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4516, allocations: 0 / 0.541 GB, free: 13.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.5017, allocations: 18.52 MB / 0.5591 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.23, allocations: 10.56 kB / 0.5591 GB, free: 13.53 MB / 414.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)