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.001148/0.001148, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001115/0.001115, allocations: 200 kB / 16.14 MB, free: 6.598 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1797/0.1797, allocations: 22.35 MB / 312.3 MB, free: 12.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 59.91 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2354, allocations: 54.95 MB / 435.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002883/0.2384, allocations: 2.915 MB / 438.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2394, allocations: 0.842 MB / 438.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2395, allocations: 5.062 kB / 438.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.2397, allocations: 31.81 kB / 438.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2399, allocations: 112.9 kB / 439.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.2402, allocations: 111.8 kB / 439.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.2405, allocations: 0.5415 MB / 439.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.2408, allocations: 304 kB / 440 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.241, allocations: 200.3 kB / 440.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.2414, allocations: 291.6 kB / 440.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.2414, allocations: 35.53 kB / 440.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.2416, allocations: 71.69 kB / 440.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2418, allocations: 143 kB / 440.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.242, allocations: 221.1 kB / 440.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.2425, allocations: 0.5478 MB / 441.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2425, allocations: 3.938 kB / 441.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2425, allocations: 0 / 441.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.2425, allocations: 0 / 441.5 MB, free: 35.91 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.001402/0.2439, allocations: 0.7438 MB / 442.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.244, allocations: 12.59 kB / 442.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/0.2441, allocations: 73.45 kB / 442.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.2441, allocations: 41.06 kB / 442.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.2445, allocations: 331.2 kB / 442.7 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2445, allocations: 23.16 kB / 442.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.2446, allocations: 35.06 kB / 442.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.2452, allocations: 408.5 kB / 443.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2452, allocations: 3.234 kB / 443.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.2452, allocations: 10.84 kB / 443.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2452, allocations: 7.625 kB / 443.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.2458, allocations: 386.9 kB / 443.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.2479, allocations: 1.324 MB / 444.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.2484, allocations: 308.6 kB / 445.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.2487, allocations: 206.3 kB / 445.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.2487, allocations: 11.34 kB / 445.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2488, allocations: 45.16 kB / 445.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000236/0.249, allocations: 43.39 kB / 445.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.249, allocations: 0 / 445.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001546/0.2506, allocations: 0.6693 MB / 446.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.2506, allocations: 62.53 kB / 446.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.2508, allocations: 313.7 kB / 446.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2509, allocations: 29.7 kB / 446.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.251, allocations: 215.2 kB / 446.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.251, allocations: 101.2 kB / 446.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2512, allocations: 72.06 kB / 446.9 MB, free: 32.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.2512, allocations: 348.1 kB / 447.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.2515, allocations: 152.7 kB / 447.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.2518, allocations: 225.6 kB / 447.6 MB, free: 32.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.2523, allocations: 388.5 kB / 448 MB, free: 32.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2523, allocations: 0 / 448 MB, free: 32.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009676/0.2533, allocations: 0.5282 MB / 448.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2533, allocations: 11 kB / 448.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2533, allocations: 0 / 448.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.2539, allocations: 89.55 kB / 448.6 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.2544, allocations: 98.75 kB / 448.7 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002755/0.2546, allocations: 0.5834 MB / 449.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2549, allocations: 16.69 kB / 449.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.255, allocations: 16.62 kB / 449.3 MB, free: 31.2 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.0001354/0.2551, allocations: 163.2 kB / 449.5 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.2552, allocations: 29.84 kB / 449.5 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.2561, allocations: 0.5084 MB / 450 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2562, allocations: 3.031 kB / 450 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2562, allocations: 0 / 450 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2562, allocations: 6.891 kB / 450 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.2577, allocations: 1.064 MB / 451.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.2577, allocations: 5.5 kB / 451.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.2581, allocations: 82.33 kB / 451.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.2585, allocations: 90.59 kB / 451.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2586, allocations: 6.719 kB / 451.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002531/0.2588, allocations: 0.5816 MB / 451.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2588, allocations: 4.062 kB / 451.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.26, allocations: 0.7645 MB / 452.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.26, allocations: 113 kB / 452.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.2601, allocations: 13.25 kB / 452.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.2604, allocations: 13.62 kB / 452.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.2604, allocations: 27.73 kB / 452.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.2605, allocations: 9.188 kB / 452.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2606, allocations: 230.7 kB / 453 MB, free: 28.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2606, allocations: 0 / 453 MB, free: 28.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.261, allocations: 103.9 kB / 453.1 MB, free: 28.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.001099/0.2621, allocations: 1.286 MB / 454.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.2629, allocations: 412 kB / 454.8 MB, free: 27.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2629, allocations: 0 / 454.8 MB, free: 27.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.2633, allocations: 218.3 kB / 455 MB, free: 27.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.2638, allocations: 85.88 kB / 455.1 MB, free: 27.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.2688, allocations: 4.25 MB / 459.4 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.269, allocations: 0.8061 MB / 460.2 MB, free: 24.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.2693, allocations: 76.34 kB / 460.3 MB, free: 24.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.2695, allocations: 133.2 kB / 460.4 MB, free: 24.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2695, allocations: 0 / 460.4 MB, free: 24.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.2908, allocations: 8.893 MB / 469.3 MB, free: 23.57 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.2909, allocations: 208.6 kB / 469.5 MB, free: 23.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.116, allocations: 1.812 kB / 469.5 MB, free: 23.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)