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.0007919/0.0007975, allocations: 86.95 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.0008924/0.0008924, 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.309/1.309, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2073/0.2073, allocations: 22.36 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 382.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2871, allocations: 55.98 MB / 438 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.002382/0.2895, allocations: 2.799 MB / 440.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2907, allocations: 0.869 MB / 441.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2909, allocations: 9.656 kB / 441.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.291, allocations: 59.83 kB / 441.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.2914, allocations: 213.3 kB / 442 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.2917, allocations: 113.6 kB / 442.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.2924, allocations: 1.111 MB / 443.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.293, allocations: 0.5503 MB / 443.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2933, allocations: 316.8 kB / 444.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.2937, allocations: 460.7 kB / 444.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.2938, allocations: 44.44 kB / 444.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.2939, allocations: 47.5 kB / 444.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2941, allocations: 276.7 kB / 444.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.2942, allocations: 171.8 kB / 445 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.2948, allocations: 1.011 MB / 446 MB, free: 34.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2948, allocations: 0 / 446 MB, free: 34.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2948, allocations: 4 kB / 446 MB, free: 34.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2948, allocations: 0 / 446 MB, free: 34.85 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.001763/0.2966, allocations: 1.065 MB / 447.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2966, allocations: 13.31 kB / 447.1 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.2968, allocations: 101.4 kB / 447.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.2969, allocations: 80.06 kB / 447.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.2975, allocations: 0.5098 MB / 447.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.2975, allocations: 44.59 kB / 447.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2976, allocations: 74.8 kB / 447.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2987, allocations: 0.7719 MB / 448.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2988, allocations: 0 / 448.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.2988, allocations: 21.28 kB / 448.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2988, allocations: 15.16 kB / 448.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.2998, allocations: 0.6764 MB / 449.4 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.3036, allocations: 3.607 MB / 453 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.3056, allocations: 0.8769 MB / 453.9 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.306, allocations: 359.1 kB / 454.2 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.3061, allocations: 8.094 kB / 454.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3061, allocations: 37.81 kB / 454.3 MB, free: 30.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.455e-06/0.3061, allocations: 2.625 kB / 454.3 MB, free: 30.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003371/0.3095, allocations: 1.908 MB / 456.2 MB, free: 29.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3095, allocations: 57.53 kB / 456.3 MB, free: 28.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.3101, allocations: 463.1 kB / 456.7 MB, free: 28.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.3101, allocations: 36.27 kB / 456.7 MB, free: 28.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3103, allocations: 325.3 kB / 457.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.3105, allocations: 206.6 kB / 457.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3105, allocations: 14.75 kB / 457.3 MB, free: 28.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.3106, allocations: 366.8 kB / 457.6 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.3112, allocations: 399 kB / 458 MB, free: 27.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.312, allocations: 0.5568 MB / 458.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.3128, allocations: 0.4906 MB / 459.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.3128, allocations: 5.953 kB / 459.1 MB, free: 27.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002492/0.3153, allocations: 1.293 MB / 460.4 MB, free: 26.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.3153, allocations: 8.062 kB / 460.4 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3153, allocations: 5.703 kB / 460.4 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009956/0.3163, allocations: 272.3 kB / 460.7 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000911/0.3173, allocations: 212.1 kB / 460.9 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.3231, allocations: 8.837 MB / 469.7 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.3239, allocations: 90.66 kB / 469.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.324, allocations: 27.75 kB / 469.8 MB, free: 17.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004722/0.3245, allocations: 272.4 kB / 470.1 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3246, allocations: 52.94 kB / 470.1 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.3265, allocations: 0.9985 MB / 471.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3266, allocations: 9.406 kB / 471.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3266, allocations: 1.344 kB / 471.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3266, allocations: 2.109 kB / 471.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3278, allocations: 0.853 MB / 472 MB, free: 16.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3278, allocations: 4 kB / 472 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/0.3288, allocations: 170.1 kB / 472.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007255/0.3295, allocations: 222.6 kB / 472.4 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/0.3296, allocations: 34.73 kB / 472.4 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/0.3351, allocations: 8.367 MB / 480.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3351, allocations: 9.75 kB / 480.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.3381, allocations: 1.371 MB / 482.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.3383, allocations: 143.8 kB / 482.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3385, allocations: 32.45 kB / 482.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.3389, allocations: 37.81 kB / 482.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.3391, allocations: 46.44 kB / 482.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.3392, allocations: 16.45 kB / 482.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004959/0.3397, allocations: 325.9 kB / 482.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3397, allocations: 0 / 482.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001139/0.3408, allocations: 255.3 kB / 483 MB, free: 7.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002751/0.3436, allocations: 1.952 MB / 485 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.3461, allocations: 1.572 MB / 486.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3461, allocations: 1.25 kB / 486.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.3473, allocations: 1.088 MB / 487.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.3481, allocations: 162.1 kB / 487.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.3583, allocations: 6.464 MB / 494.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.3589, allocations: 0.9587 MB / 495.2 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007588/0.3597, allocations: 206 kB / 495.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.3601, allocations: 236.2 kB / 495.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3601, allocations: 0 / 495.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.3939, allocations: 17.37 MB / 0.501 GB, free: 15.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.3941, allocations: 203.6 kB / 0.5012 GB, free: 15.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.515, allocations: 0 / 0.5012 GB, free: 15.61 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/linux/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) Environment - environmentSimulation: