Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.0008607/0.0008608, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.0008705/0.0008705, allocations: 177.3 kB / 15.95 MB, free: 208 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.166/1.166, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1725/0.1725, allocations: 22.35 MB / 313.3 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002641, allocations: 8 kB / 381.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 55.97 MB / 437.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.001765/0.2249, allocations: 2.02 MB / 439.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.2259, allocations: 0.7722 MB / 440.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2261, allocations: 10.56 kB / 440.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.2262, allocations: 31.61 kB / 440.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2263, allocations: 125.1 kB / 440.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.2267, allocations: 109.3 kB / 441 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.227, allocations: 339.9 kB / 441.3 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.2272, allocations: 273.4 kB / 441.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2274, allocations: 211.5 kB / 441.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.2277, allocations: 303.2 kB / 442.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.2278, allocations: 40.59 kB / 442.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.2278, allocations: 36 kB / 442.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2279, allocations: 154.7 kB / 442.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.228, allocations: 96.42 kB / 442.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.2283, allocations: 478 kB / 442.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.2283, allocations: 0 / 442.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2283, allocations: 0 / 442.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2283, allocations: 0 / 442.8 MB, free: 36.2 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001227/0.2295, allocations: 0.7227 MB / 443.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.2296, allocations: 15.53 kB / 443.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.2296, allocations: 68.41 kB / 443.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.2297, allocations: 40.06 kB / 443.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.23, allocations: 344.7 kB / 444 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2301, allocations: 23.83 kB / 444.1 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.2301, allocations: 34.47 kB / 444.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.2308, allocations: 476.6 kB / 444.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2308, allocations: 3.953 kB / 444.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.2308, allocations: 10.62 kB / 444.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2309, allocations: 8.812 kB / 444.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.2316, allocations: 0.5341 MB / 445.1 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.2336, allocations: 1.304 MB / 446.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.2341, allocations: 407.2 kB / 446.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2342, allocations: 10.91 kB / 446.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.2342, allocations: 37.88 kB / 446.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001991/0.2344, allocations: 56.05 kB / 446.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.2344, allocations: 2.875 kB / 446.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001017/0.2354, allocations: 0.6596 MB / 447.6 MB, free: 33.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.2355, allocations: 60.28 kB / 447.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2357, allocations: 350.4 kB / 448 MB, free: 33.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.2357, allocations: 29.7 kB / 448 MB, free: 33.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.2358, allocations: 210.3 kB / 448.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.2359, allocations: 151.1 kB / 448.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.2359, allocations: 10.53 kB / 448.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.236, allocations: 355.7 kB / 448.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.2363, allocations: 235.2 kB / 448.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.2367, allocations: 340.1 kB / 449.3 MB, free: 32.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.2371, allocations: 286.7 kB / 449.6 MB, free: 32.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2371, allocations: 6.219 kB / 449.6 MB, free: 32.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008908/0.238, allocations: 0.6792 MB / 450.2 MB, free: 32.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.238, allocations: 6.75 kB / 450.2 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.2381, allocations: 7.156 kB / 450.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2381, allocations: 5.719 kB / 450.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2395, allocations: 272.1 kB / 450.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.2406, allocations: 2.677 MB / 453.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.241, allocations: 30.25 kB / 453.2 MB, free: 29.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.241, allocations: 26.59 kB / 453.3 MB, free: 29.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.2412, allocations: 176.2 kB / 453.4 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.2413, allocations: 43.28 kB / 453.5 MB, free: 29.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/0.2422, allocations: 0.58 MB / 454.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2422, allocations: 9.391 kB / 454.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2422, allocations: 7.281 kB / 454.1 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2422, allocations: 3.938 kB / 454.1 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.2427, allocations: 0.5397 MB / 454.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2427, allocations: 0 / 454.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.2439, allocations: 228.1 kB / 454.8 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2439, allocations: 3.938 kB / 454.8 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.2439, allocations: 12.67 kB / 454.9 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.245, allocations: 2.665 MB / 457.5 MB, free: 25.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.245, allocations: 0 / 457.5 MB, free: 25.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.246, allocations: 0.8736 MB / 458.4 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.2461, allocations: 117.5 kB / 458.5 MB, free: 25.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.2462, allocations: 14.16 kB / 458.5 MB, free: 25.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.2465, allocations: 16.94 kB / 458.5 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.2466, allocations: 35.97 kB / 458.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.2466, allocations: 13.69 kB / 458.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.2468, allocations: 249.3 kB / 458.8 MB, free: 25.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2468, allocations: 0 / 458.8 MB, free: 25.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.2472, allocations: 152.1 kB / 459 MB, free: 25.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.T[5]) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.2485, allocations: 1.425 MB / 460.4 MB, free: 24.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.2497, allocations: 0.6111 MB / 461 MB, free: 23.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2497, allocations: 0 / 461 MB, free: 23.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.2504, allocations: 303.2 kB / 461.3 MB, free: 23.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2508, allocations: 94.72 kB / 461.4 MB, free: 23.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.2541, allocations: 4.125 MB / 465.5 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.2543, allocations: 0.8293 MB / 466.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.2546, allocations: 123.2 kB / 466.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2548, allocations: 142.7 kB / 466.6 MB, free: 19.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2548, allocations: 0 / 466.6 MB, free: 19.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.773/4.028, allocations: 10.34 MB / 477 MB, free: 18.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001146/4.028, allocations: 204.4 kB / 477.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/5.583, allocations: 0 / 477.2 MB, free: 17.96 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1) Environment - environmentSimulation: