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.001184/0.001183, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1945/0.1945, allocations: 22.35 MB / 312.7 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.89 kB / 380.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3047, allocations: 54.94 MB / 435.9 MB, free: 40.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003355/0.3081, allocations: 2.415 MB / 438.3 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3093, allocations: 0.7523 MB / 439 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3094, allocations: 3.031 kB / 439 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3097, allocations: 43.61 kB / 439.1 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.31, allocations: 131.9 kB / 439.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.3104, allocations: 143 kB / 439.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.3108, allocations: 0.5644 MB / 439.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.3113, allocations: 328.8 kB / 440.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.3116, allocations: 254.6 kB / 440.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.312, allocations: 354.8 kB / 440.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/0.3121, allocations: 58.66 kB / 440.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3122, allocations: 64.5 kB / 441 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3124, allocations: 179.3 kB / 441.1 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.3126, allocations: 270.2 kB / 441.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.3131, allocations: 0.6244 MB / 442 MB, free: 36.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3131, allocations: 0 / 442 MB, free: 36.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3131, allocations: 0 / 442 MB, free: 36.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3131, allocations: 0 / 442 MB, free: 36.49 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.001859/0.315, allocations: 0.7908 MB / 442.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3151, allocations: 12.97 kB / 442.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/0.3152, allocations: 71.33 kB / 442.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.3153, allocations: 48.41 kB / 442.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.3156, allocations: 344.5 kB / 443.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3157, allocations: 19.47 kB / 443.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.3158, allocations: 38.25 kB / 443.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.3165, allocations: 492.1 kB / 443.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3165, allocations: 0 / 443.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.3166, allocations: 15.97 kB / 443.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.3166, allocations: 9.766 kB / 443.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.3174, allocations: 0.5248 MB / 444.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.3198, allocations: 1.305 MB / 445.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.3205, allocations: 400.6 kB / 446.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.321, allocations: 237.8 kB / 446.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.321, allocations: 7.828 kB / 446.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.321, allocations: 46.09 kB / 446.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002774/0.3213, allocations: 58.36 kB / 446.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.005e-06/0.3213, allocations: 0 / 446.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001204/0.3225, allocations: 0.6538 MB / 447.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3226, allocations: 60.56 kB / 447.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3229, allocations: 353.1 kB / 447.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.3229, allocations: 31.83 kB / 447.5 MB, free: 33.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.323, allocations: 201.3 kB / 447.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.3231, allocations: 156 kB / 447.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.3233, allocations: 113.4 kB / 447.9 MB, free: 33.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.3234, allocations: 346.6 kB / 448.3 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.3238, allocations: 236.9 kB / 448.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.3242, allocations: 357.1 kB / 448.9 MB, free: 32.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/0.325, allocations: 0.5791 MB / 449.4 MB, free: 32.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.325, allocations: 0 / 449.4 MB, free: 32.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001023/0.326, allocations: 0.6985 MB / 450.1 MB, free: 31.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3261, allocations: 7.719 kB / 450.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3261, allocations: 2.969 kB / 450.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.3261, allocations: 5.25 kB / 450.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.3277, allocations: 278.3 kB / 450.4 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.3292, allocations: 2.846 MB / 453.3 MB, free: 29.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.3297, allocations: 23 kB / 453.3 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.3298, allocations: 28.39 kB / 453.3 MB, free: 29.03 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.33, allocations: 184 kB / 453.5 MB, free: 28.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.3301, allocations: 41.84 kB / 453.5 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3311, allocations: 0.5853 MB / 454.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3312, allocations: 3.375 kB / 454.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3312, allocations: 0 / 454.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3312, allocations: 11.02 kB / 454.1 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.3327, allocations: 1.166 MB / 455.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3328, allocations: 0 / 455.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.3342, allocations: 228.4 kB / 455.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3342, allocations: 2.281 kB / 455.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.3342, allocations: 16.88 kB / 455.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.3357, allocations: 2.846 MB / 458.4 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3357, allocations: 0 / 458.4 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.3371, allocations: 0.8769 MB / 459.3 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3372, allocations: 124.9 kB / 459.4 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.3373, allocations: 12.62 kB / 459.4 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.3376, allocations: 17.44 kB / 459.4 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3378, allocations: 39.27 kB / 459.5 MB, free: 24.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.3378, allocations: 12.16 kB / 459.5 MB, free: 24.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000289/0.3381, allocations: 247.1 kB / 459.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 459.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.3387, allocations: 148.1 kB / 459.9 MB, free: 24.25 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.3403, allocations: 1.424 MB / 461.3 MB, free: 23.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.342, allocations: 0.6926 MB / 462 MB, free: 23.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.342, allocations: 1.969 kB / 462 MB, free: 23.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.3428, allocations: 304.1 kB / 462.3 MB, free: 22.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.3434, allocations: 103.1 kB / 462.4 MB, free: 22.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.3512, allocations: 5.347 MB / 467.7 MB, free: 19.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3516, allocations: 0.8208 MB / 468.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000472/0.352, allocations: 122.5 kB / 468.7 MB, free: 19.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3523, allocations: 146.2 kB / 468.8 MB, free: 18.99 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3523, allocations: 0 / 468.8 MB, free: 18.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3902, allocations: 11.42 MB / 480.2 MB, free: 16.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 23.88 kB / 480.3 MB, free: 16.19 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_006_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)