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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001296/0.001296, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1778/0.1778, allocations: 22.36 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 59.91 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2338, allocations: 54.94 MB / 435.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002676/0.2365, allocations: 3.318 MB / 438.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.2375, allocations: 1.061 MB / 439.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.2376, allocations: 2.406 kB / 439.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.186e-05/0.2377, allocations: 41.77 kB / 439.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.2379, allocations: 140.4 kB / 439.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.2381, allocations: 174.4 kB / 439.9 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.2385, allocations: 0.7254 MB / 440.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.2387, allocations: 257.6 kB / 440.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2389, allocations: 249.7 kB / 441.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.2391, allocations: 276 kB / 441.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.2391, allocations: 31.06 kB / 441.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.2392, allocations: 34.62 kB / 441.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.2393, allocations: 99.53 kB / 441.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2395, allocations: 267.6 kB / 441.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.2398, allocations: 0.6443 MB / 442.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2398, allocations: 0 / 442.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.2398, allocations: 2.875 kB / 442.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2398, allocations: 3.938 kB / 442.5 MB, free: 35.12 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.001161/0.241, allocations: 0.7783 MB / 443.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.241, allocations: 15.34 kB / 443.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/0.2411, allocations: 104.9 kB / 443.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.2411, allocations: 49.5 kB / 443.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.2412, allocations: 220.1 kB / 443.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.2413, allocations: 41.06 kB / 443.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.2413, allocations: 66.69 kB / 443.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.242, allocations: 496.2 kB / 444.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.242, allocations: 2.875 kB / 444.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.242, allocations: 22.88 kB / 444.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.242, allocations: 22.31 kB / 444.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.2427, allocations: 484.3 kB / 444.7 MB, free: 33.78 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.001716/0.2444, allocations: 1.633 MB / 446.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.2451, allocations: 0.5069 MB / 446.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.2453, allocations: 220.2 kB / 447.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.2454, allocations: 9.234 kB / 447.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.2454, allocations: 44.44 kB / 447.1 MB, free: 32.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.603e-06/0.2454, allocations: 4 kB / 447.1 MB, free: 32.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005126/0.2505, allocations: 2.404 MB / 449.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.2506, allocations: 61.25 kB / 449.6 MB, free: 31.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2507, allocations: 184.3 kB / 449.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.2507, allocations: 44.33 kB / 449.8 MB, free: 30.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.2508, allocations: 189 kB / 450 MB, free: 30.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2509, allocations: 262.2 kB / 450.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.251, allocations: 109.8 kB / 450.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.2511, allocations: 343 kB / 450.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.2514, allocations: 214.4 kB / 450.9 MB, free: 30.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.2517, allocations: 268.5 kB / 451.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/0.2588, allocations: 1.638 MB / 452.8 MB, free: 29.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2588, allocations: 0 / 452.8 MB, free: 29.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001481/0.2603, allocations: 0.7806 MB / 453.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2603, allocations: 7.156 kB / 453.6 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2604, allocations: 3.156 kB / 453.6 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.2612, allocations: 190.3 kB / 453.8 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.2651, allocations: 0.5039 MB / 454.3 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.2706, allocations: 9.839 MB / 464.1 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.271, allocations: 36.91 kB / 464.2 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.271, allocations: 26.06 kB / 464.2 MB, free: 19.07 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.0002518/0.2713, allocations: 197.8 kB / 464.4 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.2714, allocations: 36.31 kB / 464.4 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.2733, allocations: 0.9412 MB / 465.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2733, allocations: 11.88 kB / 465.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2733, allocations: 1.344 kB / 465.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.2733, allocations: 6.797 kB / 465.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.2761, allocations: 1.882 MB / 467.3 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.2761, allocations: 9.375 kB / 467.3 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/0.2796, allocations: 462.8 kB / 467.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.2815, allocations: 335.3 kB / 468.1 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.2815, allocations: 28.48 kB / 468.1 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.2877, allocations: 10.01 MB / 478.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.2877, allocations: 6.969 kB / 478.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.2901, allocations: 1.403 MB / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.2902, allocations: 116.8 kB / 479.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.2903, allocations: 29.05 kB / 479.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.2908, allocations: 42.7 kB / 479.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.291, allocations: 85.59 kB / 479.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.291, allocations: 26.62 kB / 479.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2912, allocations: 143.6 kB / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2912, allocations: 0 / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007732/0.2919, allocations: 170.5 kB / 480.1 MB, free: 6.094 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.002489/0.2944, allocations: 1.961 MB / 482.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004762/0.2992, allocations: 1.346 MB / 483.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2992, allocations: 1.375 kB / 483.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003893/0.3031, allocations: 1.097 MB / 484.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.3039, allocations: 134.5 kB / 484.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.3105, allocations: 5.034 MB / 489.7 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.3109, allocations: 0.8432 MB / 490.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.3114, allocations: 64.25 kB / 490.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.3116, allocations: 152.7 kB / 490.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3116, allocations: 0 / 490.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/0.6401, allocations: 12 MB / 0.491 GB, free: 7.707 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/0.6405, allocations: 216.7 kB / 0.4912 GB, free: 7.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.833, allocations: 0 / 0.4912 GB, free: 7.449 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)