Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 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.001135/0.001135, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1994/0.1994, allocations: 22.35 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2412, allocations: 54.94 MB / 435.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002932/0.2442, allocations: 2.624 MB / 438.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2453, allocations: 0.8097 MB / 439.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2454, allocations: 2.844 kB / 439.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2456, allocations: 47.53 kB / 439.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.2459, allocations: 124.4 kB / 439.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.2462, allocations: 128.9 kB / 439.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2465, allocations: 481.2 kB / 440.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.2469, allocations: 333.1 kB / 440.4 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.247, allocations: 212.3 kB / 440.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.2473, allocations: 289.9 kB / 440.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.2474, allocations: 48.84 kB / 440.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2475, allocations: 85.53 kB / 441 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2477, allocations: 155 kB / 441.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.2478, allocations: 241.7 kB / 441.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.2482, allocations: 0.5553 MB / 442 MB, free: 35.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2482, allocations: 0 / 442 MB, free: 35.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2482, allocations: 0 / 442 MB, free: 35.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.2483, allocations: 0 / 442 MB, free: 35.97 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001299/0.2496, allocations: 0.7472 MB / 442.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2496, allocations: 15.34 kB / 442.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.2497, allocations: 62.25 kB / 442.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.2498, allocations: 43.16 kB / 442.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2501, allocations: 334.2 kB / 443.2 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2501, allocations: 23.97 kB / 443.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.2502, allocations: 36.34 kB / 443.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.2508, allocations: 407.9 kB / 443.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2508, allocations: 0 / 443.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.2508, allocations: 11.97 kB / 443.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2509, allocations: 8.281 kB / 443.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.2515, allocations: 388.6 kB / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.2537, allocations: 1.33 MB / 445.3 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.2542, allocations: 314.2 kB / 445.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.2545, allocations: 207.1 kB / 445.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2546, allocations: 7.219 kB / 445.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2546, allocations: 34.56 kB / 445.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000307/0.2549, allocations: 57.03 kB / 445.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/0.2549, allocations: 0 / 445.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001722/0.2566, allocations: 0.6966 MB / 446.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2567, allocations: 54.34 kB / 446.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.2569, allocations: 314.2 kB / 447 MB, free: 33.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.257, allocations: 33.14 kB / 447 MB, free: 33.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.2571, allocations: 201 kB / 447.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.2571, allocations: 104.5 kB / 447.3 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2573, allocations: 81.14 kB / 447.4 MB, free: 32.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.2573, allocations: 343 kB / 447.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.2576, allocations: 170.1 kB / 447.9 MB, free: 32.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.2579, allocations: 216.8 kB / 448.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.2585, allocations: 412.1 kB / 448.5 MB, free: 32.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2585, allocations: 3.938 kB / 448.5 MB, free: 32.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001112/0.2596, allocations: 0.5354 MB / 449.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2597, allocations: 6.656 kB / 449.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2597, allocations: 2.875 kB / 449.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.2603, allocations: 87.88 kB / 449.2 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.2608, allocations: 106.2 kB / 449.3 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/0.2612, allocations: 0.5755 MB / 449.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.2615, allocations: 20.5 kB / 449.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.2615, allocations: 13.92 kB / 449.9 MB, free: 31.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (41): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.2617, allocations: 157.3 kB / 450 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.2617, allocations: 36.72 kB / 450.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.2628, allocations: 0.5231 MB / 450.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2629, allocations: 2.531 kB / 450.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2629, allocations: 4 kB / 450.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2629, allocations: 0 / 450.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.2633, allocations: 466.4 kB / 451.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2633, allocations: 3.938 kB / 451.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.2638, allocations: 77.55 kB / 451.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/0.2642, allocations: 91.52 kB / 451.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.2643, allocations: 12.78 kB / 451.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003089/0.2646, allocations: 0.58 MB / 451.8 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2646, allocations: 7.875 kB / 451.8 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.2658, allocations: 0.7669 MB / 452.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.2659, allocations: 107.7 kB / 452.7 MB, free: 29.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.266, allocations: 10.94 kB / 452.7 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.2663, allocations: 17.72 kB / 452.7 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.2664, allocations: 33.16 kB / 452.8 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.2664, allocations: 7.812 kB / 452.8 MB, free: 29.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.2666, allocations: 226.9 kB / 453 MB, free: 29.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2666, allocations: 0 / 453 MB, free: 29.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.267, allocations: 113.2 kB / 453.1 MB, free: 29.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/0.2684, allocations: 1.286 MB / 454.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009195/0.2693, allocations: 453.7 kB / 454.8 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2693, allocations: 320 / 454.8 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.2698, allocations: 234.5 kB / 455.1 MB, free: 28.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.2703, allocations: 79.03 kB / 455.1 MB, free: 28.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.2758, allocations: 4.124 MB / 459.3 MB, free: 25.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2761, allocations: 0.8134 MB / 460.1 MB, free: 24.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.2764, allocations: 79.02 kB / 460.1 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.2766, allocations: 138.7 kB / 460.3 MB, free: 24.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2766, allocations: 0 / 460.3 MB, free: 24.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.3113, allocations: 9.398 MB / 469.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.22, allocations: 19.55 kB / 469.7 MB, free: 23.77 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_001_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_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)