Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001167/0.001167, allocations: 194.8 kB / 16.25 MB, free: 6.645 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1791/0.1791, allocations: 22.35 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 380.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2249, allocations: 54.93 MB / 435.3 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.00339/0.2283, allocations: 3.318 MB / 438.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2298, allocations: 1.061 MB / 439.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.2301, allocations: 2.531 kB / 439.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2302, allocations: 41.89 kB / 439.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.2307, allocations: 145.1 kB / 439.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.231, allocations: 171.1 kB / 440.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.2316, allocations: 0.7639 MB / 440.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.232, allocations: 313 kB / 441.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.2324, allocations: 296.9 kB / 441.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.2327, allocations: 295 kB / 441.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.2328, allocations: 64.59 kB / 441.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.2329, allocations: 66.22 kB / 441.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.2329, allocations: 132.8 kB / 442 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.2331, allocations: 302.8 kB / 442.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2335, allocations: 0.6694 MB / 442.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2335, allocations: 3.719 kB / 443 MB, free: 34.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2335, allocations: 0 / 443 MB, free: 34.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2336, allocations: 0 / 443 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001197/0.2348, allocations: 0.7832 MB / 443.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2348, allocations: 8.469 kB / 443.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.174e-05/0.2349, allocations: 108.2 kB / 443.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.235, allocations: 48.75 kB / 443.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2351, allocations: 215.9 kB / 444.1 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2351, allocations: 48.88 kB / 444.2 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.2352, allocations: 60.78 kB / 444.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.2358, allocations: 498.7 kB / 444.7 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2359, allocations: 3.938 kB / 444.7 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.2359, allocations: 24.91 kB / 444.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2359, allocations: 11.5 kB / 444.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.2365, allocations: 488.8 kB / 445.2 MB, free: 33.5 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.2384, allocations: 1.634 MB / 446.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.2391, allocations: 0.5128 MB / 447.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.2394, allocations: 219.8 kB / 447.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.2394, allocations: 14.11 kB / 447.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2394, allocations: 45.72 kB / 447.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.603e-06/0.2395, allocations: 0 / 447.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005325/0.2448, allocations: 2.405 MB / 450 MB, free: 30.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2448, allocations: 59.72 kB / 450.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2449, allocations: 190.8 kB / 450.3 MB, free: 30.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.245, allocations: 33.7 kB / 450.3 MB, free: 30.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.245, allocations: 190.1 kB / 450.5 MB, free: 30.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2452, allocations: 262.2 kB / 450.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.2453, allocations: 106 kB / 450.9 MB, free: 30.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.2454, allocations: 345.8 kB / 451.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.2457, allocations: 211.7 kB / 451.4 MB, free: 29.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.246, allocations: 269.7 kB / 451.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007204/0.2532, allocations: 1.647 MB / 453.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2532, allocations: 0 / 453.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001503/0.2547, allocations: 0.7741 MB / 454.1 MB, free: 28.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2548, allocations: 5.25 kB / 454.1 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2548, allocations: 0.8125 kB / 454.1 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000911/0.2557, allocations: 192.1 kB / 454.3 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/0.2594, allocations: 0.5104 MB / 454.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005928/0.2654, allocations: 10.62 MB / 465.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.2658, allocations: 33.48 kB / 465.5 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.2658, allocations: 22.16 kB / 465.5 MB, free: 18.02 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.2661, allocations: 209.4 kB / 465.7 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.2662, allocations: 36.78 kB / 465.7 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.2682, allocations: 0.945 MB / 466.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.2682, allocations: 11.53 kB / 466.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2682, allocations: 2 kB / 466.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2683, allocations: 3.469 kB / 466.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.2712, allocations: 1.879 MB / 468.6 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.2712, allocations: 9.969 kB / 468.6 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/0.2746, allocations: 467.3 kB / 469 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.2764, allocations: 334 kB / 469.4 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.2765, allocations: 25.56 kB / 469.4 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/0.2829, allocations: 10.8 MB / 480.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.2829, allocations: 15.53 kB / 480.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.2853, allocations: 1.39 MB / 481.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2854, allocations: 124.5 kB / 481.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.2855, allocations: 29.22 kB / 481.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.2861, allocations: 31.19 kB / 481.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.2863, allocations: 87.28 kB / 481.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.2863, allocations: 31.52 kB / 481.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.2864, allocations: 141.3 kB / 482 MB, free: 4.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2864, allocations: 0 / 482 MB, free: 4.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008224/0.2873, allocations: 174.1 kB / 482.2 MB, free: 4.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.T) * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002534/0.2898, allocations: 1.964 MB / 484.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.2948, allocations: 1.382 MB / 485.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2948, allocations: 5.188 kB / 485.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.2988, allocations: 1.104 MB / 486.6 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.2996, allocations: 126.9 kB / 486.8 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.3068, allocations: 5.017 MB / 491.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.3072, allocations: 0.8416 MB / 492.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004379/0.3076, allocations: 64.66 kB / 492.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.3079, allocations: 157.3 kB / 492.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3079, allocations: 4 kB / 492.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.3414, allocations: 12.45 MB / 0.4935 GB, free: 5.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.3416, allocations: 212.5 kB / 0.4937 GB, free: 4.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.442, allocations: 0 / 0.4937 GB, free: 4.926 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_001_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_001.fmu > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)